[Bug c++/27941] offsetof produces possibly erroneous warnings

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 7 22:44:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-06-07 22:43 -------
Both goo and foo are non PODs once you define a constructor which causes the
offsetof to be invalid.


-- 

pinskia at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list