if a ptr to member function declaration differs from the prototype of the actual function being used, and the function is implemented in a subclass, and inherits from multiple base classes, the 4.x compiler generates a 0 for the __delta which cause the appl to crash when the function is called through the pointer with a wrong this ptr (pointing to the baseclass offset instead of the objects). problem was introduced with g++4.x, tested ok with g++3.4.
-- Summary: ptr to member func __delta is 0 if ptr declaration does not match function porototype Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ingo dot donasch at L-3com dot com GCC build triplet: Red Hat 4.1.1-51 GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30975