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


On Thu, 13 Feb 2003 23:26:49 +0000 (GMT), "Joseph S. Myers" <jsm28@cam.ac.uk> 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.

Huh?  The warning was just about a conversion from integer to pointer.  No
extensions involved.

Jason


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