[uClibc]Malformed pragma
Patrice Massart
p.massart at embetion.com
Mon Mar 17 11:54:22 UTC 2003
Hi,
I'm trying to compile a networked application that makes use of 'pragma pack' to ensure that structures are exactly the same whatever the platform is.
Code is
#pragma pack(1)
Structure definitions
#pragma pack(0)
But when ever I compile I get the following message:
Warning 'malformed pragma'
And then, a parse error.
Info: without pragmas, the program compiles fine.
I'm using the latest coldfire uClinux distribution and I really do not know how to fix this problem.
I'd be grateful for comments/ideas/solutions,
Cheers,
Patrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20030317/e490d172/attachment-0001.htm
More information about the uClibc
mailing list