Gilad Ben-Yossef wrote:
> Furthermore, relying on 'int', 'bool' and friends to be ANY specific
> size is bad and broken programing and will prevent you to port the
> program to other ARCHs even with the same compiler etc.

While I agree with Gilad, just as service to public here is solution:

struct
{
        bool x __attribute__ ((aligned (4)));
} m;

My main problem was resulting sizeof of structures - using __attribute__
solves this...

Thanks everybody


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to