|
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
|