This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH to cp/decl.c: Timing name lookup
Neil Booth <neil@daikokuya.co.uk> writes:
| 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.
I have the vague impression of knowing this music :-) :-)
-- Gaby