This is the mail archive of the gcc-patches@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: C++ PATCH to cp/decl.c: Timing name lookup


Joseph S. Myers wrote:-

> On Thu, 13 Feb 2003, Jason Merrill wrote:
> 
> > It's not spurious.  (0,0) is not a valid null pointer constant; an integral
> > constant-expression may not contain a comma operator.
> 
> And we ought to get rid of GCC's C extensions that allow such things 
> without -pedantic.

Can't we get rid of them altogether, unless there's a good reason for
having them (like your offsetof example)?  Otherwise, it just seems like
having useless features for the sake of it.

Neil.


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