GCC warnings for unused global variables

Joe Buck jbuck@synopsys.com
Thu May 1 18:09:00 GMT 2003


On Thu, May 01, 2003 at 11:05:18AM -0700, Geoff Keating wrote:
> It is not, and has never been, the case that -Wall is a flag that
> always produces the same set of warnings on the same source code.
> Those who want to use -Wall and want to have no warnings have to
> realise that they will need to change their code with each new
> compiler release as the compiler is enhanced to detect new
> questionable constructs.  Such new warnings are not regressions, they
> are progressions.

While I agree with you in general, I do not in this specific case.



More information about the Gcc mailing list