Version: CVS (using KDE KDE 3.1.1) Installed from: Debian testing/unstable Packages OS: Linux #define when creating a class in a namespace should be different to avoid classname collision: for instance for class N1::A -------------------- #ifndef N1_A_H #define N1_A_H namespace N1 { class A; } and class N2::A --------------------- #ifndef N2_A_H #define N2_A_H namespace N2 { class A; } #endif
It is already done !