GCC warnings for unused global variables
Daniel Jacobowitz
drow@mvista.com
Fri May 2 16:14:00 GMT 2003
On Fri, May 02, 2003 at 09:00:48AM -0700, David O'Brien wrote:
> 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.
Have you noticed perhaps that the majority of GCC HEAD _is_ -Wall
-Werror clean?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gcc
mailing list