Mail Archives: djgpp/1997/03/21/16:20:02
Hello -
Is there an equivalent of __attribute__ (unused)
for labels?
I prefer to compile with -Wall -Werror, but this will
abort if it runs into any unused labels. I can get around
this by either using -Wno-unused or by removing the Werror, but
I would like to just tag the labels as possible unused, and still
have the compiler detect unused variabled. I can rewrite my
parser to conditionally but labels in as needed, but thats an extra
condition to store, test, modify, and I don't want to slow things down.
Thanks
Andrew
- Raw text -