Keresztfalvi Gabor <[EMAIL PROTECTED]> writes:
> I had problems with symmetric/twofish.c, and
> it seems to me, that my compiler doesn't like this:
> UNUSED static char cvs_id[] = "...";
> But it compiles fine with:
> static char UNUSED cvs_id[] = "...";
> Or with:
> static char cvs_id[] UNUSED = "...";
>
> gcc -v -> gcc version 2.7.2.1
> Is this the correct behaviour from this compiler?
Hmm. I think the grammar for __attribute__ constructions was relaxed
between gcc-2.7 and gcc-2.8. They should be placed last (perhaps they
can even be placed after the intializer; I haven't tried that).
/Niels