gcc unexpected C static_assert error: expression in static assertion is not constant
I have some C code which builds OK with gcc-11 and earlier but not gcc-12 and later.
This illustrates the problem (this isn’t the actual code I’m working on):
I have some C code which builds OK with gcc-11 and earlier but not gcc-12 and later.
This illustrates the problem (this isn’t the actual code I’m working on):