[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ Blues.



Hi,

> >> Looks like a compiler bug (the 2.7.x series of gcc had many serious
> >> problems with C++). I don't have the C++ specs at hand, but I'm sure
> that
> >> it's not that stupid ;)
> >Looks like it is that stupid.  I've had one mail saying it is in the
> >C++ specs, and another saying he can reproduce the problem with
> >Borland or Visual C++ under NT.  So its not the G++ people we have to
> >shoot.

This stupid scope lookup is part of the C++ spec. There's nothing you
can do against (short of mailing bjarne stroustrup about it :-) ).

There may be a rationale behind it (which I never found), but, well,
you have to live with that.

Cheers,

--fred