This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
James E Wilson wrote: -fpack-struct and #pragma pack(2) are contraditctory instructions, and -fpack-struct wins. It was never the intent to allow both. Current gcc sources will give a warning saying that the pragma pack is being ignored. If you want some structures that aren't fully packed, then you can't use -fpack-struct. --
Thanks in advanced, Feng Qiu
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |