Hi,
Thus wrote Philipp Klaus Krause (p...@spth.de):
> That these two are handled differently looks like a bug to me; I
> suggest to file a bug report.
I've just opened
https://sourceforge.net/p/sdcc/bugs/3495/
> Why not just use static_assert?
Using C11 and static_assert is the best option, y
Am 23.09.22 um 12:09 schrieb Martin Kaiser:
This function compiles
void dummy123(void)
{
{ enum { BLA = 2 }; };
{ enum { BLA = 2 }; };
}
but this one doesn't:
void dummy123(void)
{
{ enum { BLA = 2 }; };
volatile int a = 3;
{ enum { BLA = 2 }; };
}
That these two ar