[Bug c/31670] Error calculating size of structs
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 23 18:33:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-23 19:32 -------
Learn about alignment when doing struct layout. Basically you want to use the
attribute packed to get the sizes you want.
--
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=31670
More information about the Gcc-bugs
mailing list