QUESTION: strange behaviour of typedef enum and __attribute__((packed)) using sh-hms-g++ 3.0.3
William A. Gatliff
bgat@billgatliff.com
Wed Dec 11 06:21:00 GMT 2002
Fabio:
> If I define
> typedef enum en {em_f1 = 0, em_f2, em_f3} em_t
> __attribute__(((packed),aligned(1)));
What happens if you leave the aligned(1) off?
b.g.
--
Bill Gatliff
Public embedded GNU and embedded Linux training dates announced!
http://billgatliff.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list