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: Warnings about rcs_id strings: let's settle this


On Fri, May 02, 2003 at 01:59:51PM -0400, Alexander Kabaev wrote:
> > 
> > only for const variables?  NO.  Many old codes do not declare the
> > rcsid const, and the fact that we have the flag that will warn about
> > all unused static variables means that users can still find them all.
> >  
> GCC 3.2 and prior only suppressed warnings for const variables. Since it
> was the change from 3.2 to 3.3 which raised complaints, I guess adding
> an option to restore 3.2 behavior is sufficient. Disabling warnings for
> all static variables is going too far IMHO.

OK, in that case it's fine for the patch to just restore the 3.2 behavior.


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