[Bug c++/26178] sizeof still fails calculating size of an structure (sizeof(struct my_struct))

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Feb 8 17:23:00 GMT 2006



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-08 17:23 -------
There is padding in this struct which is why the size is different than from
the sum of all the parts.


-- 


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



More information about the Gcc-bugs mailing list