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 10:28:34AM -0700, Zack Weinberg wrote:
> For what it's worth, I agree that some variant of Kean's patch should
> be included.  I think some of the concerns raised in the discussion of
> the patch (enable at -Wextra? only for const variables?) should be
> addressed, but hopefully we can do that in short order without
> sidetracking again.

OK.  Back when RMS was running GCC, questions like these were sometimes
turned into polls of the users.  Should we try that?

As for my answers:

enable at -Wextra?  Sure, why not?

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.
 


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