Dear SDCC users,

SDCC currently allows unnamed struct/union members that are neither bit-fields nor anonymous struct/union, e.g.

struct v { char; };

This is not allowed in standard C (neither C99 nor C23, didn't check other standard versions, but the C99 rationale doesn't mention it, so this isn't new in C99).

The standard requires a diagnostic here. Is anyone using this feature? If yes, I might make that diagnostic a warning; otherwise, I'd just remove support and make it an error.

Philipp



_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to