testcase.ii:20253: error: type 'XMLFile' is not a base type for type 'XMLFile' testcase.ii:20253: error: in pointer to member conversion I think it's a reject of valid code. # gcc-4.0.1-20050507.
-- Summary: type 'X' is not a base type for type 'X' in pointer to member conversion Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pld-linux GCC host triplet: i686-pld-linux GCC target triplet: i686-pld-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21455