Le 17 nov. 2010 à 23:11, Siarzhuk Zharski a écrit : > Hi Rene, > > Am 17.11.2010 21:42, schrieb Rene Gollent: >> Bool is usually one byte, in which case the easiest thing in order to >> maintain class size would've been: >> >> uint32 _reserved[11]; >> char _reserved2[3]; >> bool fHasBeenRestored; >> >> or alternatively: >> char _reserved[47]; >> bool fHasBeenRestored; > > BTW, are Haiku classes and structures 1-byte aligned by default? Don't think so. It depends on gcc I believe. François.