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 08:28:10PM +0100, Neil Booth wrote:
> Joe Buck wrote:-
> 
> > If previously released gcc's need the "const" to shut up, it's OK to keep
> > it that way.
> 
> And please, let's restrict it to char[] arrays.  We don't need to
> suppress it for absolutely everything.

Do you really want to warn on constructs like:

static const double phi = 1.618;

in headers?  Maybe we should use #defines instead?

  OG.


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