Malformed pragma message

mpowell@add2.co.uk mpowell@add2.co.uk
Mon Jul 3 11:38:00 GMT 2006


Sirs,

I am using the Ashware gnu compiler for mpc5xx

I have defined the HANDLE_PRAGMA_PACK_PUSH_POP macro
using -DHANDLE_PRAGMA_PACK_PUSH_POP command line option.
When the compiler encounters a #pragma pack(push,1) statement and a
matching #pragma pack(pop) statement in a header file I get the 'warning
malformed #pragma pack' message. Why?

Best regards,

Mick Powell, Project Manager
Email: mpowell@add2.co.uk [mailto:mpowell@add2.co.uk]
add2 Ltd, Hawkesyard Hall, ArmitagePark, Armitage, Staffordshire, UK,
WS15 1PU
Tel:  +44(0)1889 574400,   Fax: +44(0)1889 576779,  Web:
http://www.add2.co.uk




More information about the Gcc-help mailing list