John Marino <draco(at)marino(dot)st> writes:
> Perhaps, you need to take a closer look at this. I guarantee that I
> didn't do this for cosmetic reasons. GCC behavior changed with GCC 4.5
> on this topic.
You should report it as a bug in whatever distro you're using, because
the behavior did *not* change anywhere else, and the code you say your
compiler is rejecting is clearly legal per C standard. sizeof() is
a compile-time constant.
regards, tom lane