extern void cv_set_noise(bool white, enum cv_shift shift);
The above line doesn't compile even though I included
stdbool.h. Without -mz80 it works.
sdcc -v gives:
SDCC :
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.5.0 #1020 (Aug 21 2005) (UNIX)
Logged In: YES
user_id=1115835
This shuold be due to stdbool.h's (indirect)
#define bool __bit
and the hint that z80 does not support the "bit" type.
In fact, this should work by now (SDCC #1243), since I
patched stdbool.h to define bool as char for PICs recently...
Regards,
Raphael Neider
Logged In: YES
user_id=888171
This is essentially the same as bug 1468666 which Raphael
fixed in SDCC 2.5.6 #1246.