uisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Uisp-dev] [patch] Alignment on ARM


From: E. Weddington
Subject: Re: [Uisp-dev] [patch] Alignment on ARM
Date: Wed, 20 Apr 2005 12:55:31 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Wojtek Kaniewski wrote:

Raphael Assenat napisaƂ(a):

I tried your suggestion and it worked perfectly. And it's much cleaner.


unfortunately it's only a gcc extension, so if anyone tries to compile uisp with another compiled, it will probably throw an error. #ifdef __GNUC__ would be nice. however if uisp is said to compile only with gcc, this is not the case.

An alternative: instead of using the packed attribute, you can compile the file with the -fpack-struct compiler switch, which should do the same thing. However, the tradeoff is that you then have to make sure that that flag gets included in the build structure, i.e. makefile.

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]