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]
Other format: [Raw text]

[Bug c++/22238] Awful error messages with virtual functions



------- Comment #14 from reichelt at gcc dot gnu dot org  2007-08-21 19:56 -------
The pointer_plus_exprt stuff has been fixed.

We are now back to error messages like

bug.cc: In member function 'void B::bar()':
bug.cc:4: error: could not convert '(((A*)this) + ((unsigned int)(*(int*)(
((B*)this)->B::_vptr.B + 0xfffffffffffffff4u))))->A::foo()' to 'bool'


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22238


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