This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c++ enable checking failure 3
>>>>> 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