This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC warnings for unused global variables


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]