maybe GCC C++ bug in namespace handling?

Carlo Wood carlo@alinoe.com
Mon Feb 11 15:29:00 GMT 2002


On Mon, Feb 11, 2002 at 09:47:40PM +0100, Dirk Mueller wrote:
> void derived::foo()
> {
>   base::foo(); // or ns::base::foo ?
> }

I am also pretty sure that it must be ns::base::foo,
when g++ accepts base::foo then that must be a bug.
You best report this with GNATS.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Gcc mailing list