[Bug c++/19605] [4.0 Regression] Wrong member offset in inherited classes

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jan 29 00:01:00 GMT 2005


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-01-29 00:00 -------
This is undefined behavior, and it is not worthwhile to try to make this work. 
There are existing ways (offsetof and poiners-to-members) to accomplish what the
submitter wants to do.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list