GCC warnings for unused global variables

Richard Henderson rth@redhat.com
Fri May 2 02:46:00 GMT 2003


On Thu, May 01, 2003 at 11:05:18AM -0700, Geoff Keating wrote:
> This is still the case; it's easy to suppress the warning by adding an
> appropriate attribute, or by use of 'volatile' (at least, I hope
> 'volatile' works, if not it can be fixed).

Why in the world would "volatile" affect this in any way?


r~



More information about the Gcc mailing list