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 Fri, May 02, 2003 at 09:51:34AM -0700, Bruce Korb wrote:
> Gabriel Dos Reis wrote:
> 
> > [stuff]
> 
> [other stuff]

Isn't there some more productive discussion we could all be having?

A -Wsomething patch has been proposed.  Why not talk about actual concrete
code?  (I'm way behind in the gcc-patches list.)

Tangentially related:

I went 'round the cubicles and made some informal queries here.  The typical
reaction I got was a "wtf?" look.

My users tell me that if -Wall starts bitching at them about their rcsid
strings, which have been there with no problems for years -- in one humorous
case, the code is older than its current maintainer -- they will drop GCC
like a hot potato.

They're fine with putting it in -Wextra/-W, because that typically isn't
used "by default" on a project here, and when they add -W by hand, they can
add appropriate -Wno-* options at the same time.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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