This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Re: Problem with the EGCS cpp? <3.0.6.32.19990218000955.00877370@pop.netaddress.com> ]
On Feb 18, 1999, Paul Derbyshire <pderbysh@usa.net> wrote:
> It looks as if the frontend uses whitespace to disambiguate
> namespace Foo { int bar2; }
> struct Foo { ... }
> void func (void) { Foo ::bar1; Foo::bar2 = 3; }
The latest snapshot says:
t.cc: In function `void func()':
t.cc:6: `bar1' is not a member of type `Foo'
t.cc:7: `bar2' is not a member of type `Foo'
So there's no disambiguation taking place here.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil