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:00:13PM +0200, Olivier Galibert wrote:
> Do you really want to warn on constructs like:
> 
> static const double phi = 1.618;
> 
> in headers?

Yes!  The difference between C and C++ in this area
means that C++ programmers make silly mistakes in C.


r~


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