This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CVS head (gcc-3.4), new parser, and should variable names interfere with namespace names?
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Andrew Pollard <andrewp at andypo dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: 31 Dec 2002 12:42:04 +0100
- Subject: Re: CVS head (gcc-3.4), new parser, and should variable names interfere with namespace names?
- Organization: Integrable Solutions
- References: <200212311126.gBVBQQiV006324@garfield.andypo.net>
Andrew Pollard <andrewp@andypo.net> writes:
| Hi All,
|
| With the recent parser changes, the following snippet of code now
| doesn't compile...
|
| namespace.cxx:
| -----------------------
| namespace foo {
| int baz(int);
| }
|
| int
| bar(int foo)
This foo hides ::foo.
[...]
| Is the parser just being more standard conforming,
Yes.
-- Gaby