GCC warnings for unused global variables
David O'Brien
obrien@FreeBSD.org
Fri May 2 16:01:00 GMT 2003
On Wed, Apr 30, 2003 at 05:21:07PM -0700, Richard Henderson wrote:
> On Wed, Apr 30, 2003 at 07:47:30PM -0400, Alexander Kabaev wrote:
> > Anyway, my question was about boatload of
> > third-party software, which normally should not be modified locally.
> > const static rcsid's are very common.
>
> Then you'll have to ignore the warning.
Ah yes, the position of the GNU toolchain developers whose code isn't
even near warns clean...
As someone with a source base that is (well was until GCC 3.3) warns
clean I can tell you adding things willy nilly to -Wall is a problem. If
GCC and Binutils were -Wall -Werror clean, maybe the GCC developers
thinking this thread isn't an issue would have a different opinion.
--
-- David (obrien@FreeBSD.org)
More information about the Gcc
mailing list