[uClinux-dev] #pragma pack()

Kendrick Hamilton hamilton at SEDSystems.ca
Thu Mar 6 10:07:45 EST 2003


Have you looked at the gcc web page? Try
struct foo
{
	short x;
	short y;
} __attribute__((packed));
 It is something like this.
Kendrick


On Thu, 6 Mar 2003, munix wrote:

> HI ALL,
>
> Can any one help me out abt how "#pragma pack()" works in uclinux , and how
> to go abt to use it...
> I want ot use it, to pack the structure from padding
> Iam getting compilation error.
>
> Thanx in advance
> Munix
>
>
>
> -------Original Message-------
>
> From: uclinux-dev at uclinux.org
> Date: Thursday, March 06, 2003 04:23:06 AM
> To: Roope Anttinen
> Cc: uClinux-dev
> Subject: Re: [uClinux-dev] BIG numbers more info...
>
> On Thu Mar 06, 2003 at 01:46:39PM +0200, Roope Anttinen wrote:
> > And, BTW I use the old uc-libc... can't use uClibc, because it has way
> > too unreliable signal handling.
>
> Can you please provide me with an example showing unreliable
> signal handling in uClibc 0.9.19?
>
> -Erik
>
> --
> Erik B. Andersen http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> .




More information about the uClinux-dev mailing list