Version: (using KDE KDE 3.4.0) Installed from: Debian testing/unstable Packages OS: Linux kdelibs source contains code of this form: namespace NS1 { struct S { int foo(); }; } using namespace NS1; namespace NS2 { int S::foo() { return 0; } } (Specifically, KNetwork::internal.) This is illegal C++, though gcc 3.4 allows it due to a bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20711 Other compilers such as Intel C++ reject this.
you're quicker if you're simply adding a patch to make it compile instead of trying to give us a lecture
It would be easier if you said what files had this invalid construct. I thought I had got rid of them a while ago.
No reply, closing. I can't find that construct anywhere. Please point out where it is.