c++ enable checking failure 3

Jason Merrill jason@cygnus.com
Sat Jul 11 01:44:00 GMT 1998


>>>>> Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de> writes:

>> But that's wrong, because we want to do the same thing for namespaces there
>> that we currently do for classes:

> You mean, code like

> namespace X{
>   void g();
>   namespace Y{
>     void f();
>   }
> }

> void X::Y::f()
> {
>   g();
> }

> should work?

No, I mean code like

  namespace X {
    typedef int foo;
    namespace Y {
      void f (foo);
    }
  }

  void X::Y::f(foo)
  {
  }

should work.

Jason



More information about the Gcc-patches mailing list