This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22238] Awful error messages with virtual functions
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2007 19:56:19 -0000
- Subject: [Bug c++/22238] Awful error messages with virtual functions
- References: <bug-22238-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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