The C standard requires a diagnostic for a failed static_assert. Currently, SDCC uses a warning as this diagnostic. AFAIK, most other compilers use an error. Should SDCC also use an error?
Philipp P.S.: I do not remember why SDCC went with a warning rather than an error when support for static_assert was implemented. _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user