Bug#302808: kdelibs: uses invalid C++
Package: kdelibs
Severity: minor
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.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-quack+20041128+quack.cs.berkeley.edu
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages kdelibs depends on:
ii kdelibs-bin 4:3.3.2-1 KDE core binaries
ii kdelibs-data 4:3.3.2-1 KDE core shared data
ii kdelibs4 4:3.3.2-1 KDE core libraries
Reply to: