This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pointers to member functions with multiple inheritance


Enclosed are both the source file and the .ii file that should reproduce the
behaviour.

It involves using pointers to member functions when the member function
belongs to a class that has multiple parents.  In the example code,
basically identical code is show for single inheritance (which works), and
multiple, which seg faults.

Under gdb the pointer to the member function just plain looks wrong, but
again it all works perfectly if there isn't multiple inheritance.

Thanks,

-- Andrew
WindBourne, Inc.
Software Development Consulting
http://www.wbourne.com
(303) 522-6920

g++bug.ii.bz2

g++bug.cpp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]