Question about "#pragma pack(n)" and "-fpack-struct"
feng qiu
fengqiu_tianjin@hotmail.com
Sun Mar 13 05:00:00 GMT 2005
>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.
>--
Is it difficult to modify the gcc sources if I want to use the both?
Thanks in advanced,
Feng Qiu
_________________________________________________________________
ÃÃÃÃÃýçÃÃÃî´óµÃµçÃÃÃüþõó¡ª MSN Hotmail¡£ http://www.hotmail.com
More information about the Gcc
mailing list