Since _Bool is treated as a storage class specifier by sdcc, it can't be used in some places, e.g. as a struct member, it is not possible to declare function pointer types for functions returning bool either.
This seems to be true for all ports.
Philipp
A struct that won't compile
OK, function pointers to functions returning bool work.
Thus this bug report shall just be about bool in structs.
This bug report no longer applies to the z80 and gbz80 ports.
It can be closed once all ports have true _Bool support.
This bug report currently applies to mcs51, ds390 and xa51 ports only.
Philipp
Duplicates to bug [#2085]. They are all due to _Bool is defined as bit in MCS-51 & DS390.
Related
Bugs:
#2085Last edit: Maarten Brock 2016-05-21