SDCC currently has support for __typeof, which is an extension to the C
standard.
In SDCC, __typeof returns an integer constant that depends of the type
of the operand.
SDCC has had this support since 2001, but __typeof is not used in our
library nor is it tested in the regression tests. When support for _Bool
and long long got added to SDCC, the __typeof support was not updated to
support them. __typeof support is quite a few lines of code in different
places.

SDCC now supports _Generic from the ISO C11 standard. _Generic is more
generic than __typeof.

__typeof probably has few users if any, and most use cases of __typeof
should be easy to migrate to _Generic.

I suggest to drop support for __typeof.

Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to