[GCC-XML] Struct Alignment

Brad King brad.king at kitware.com
Wed Jun 28 10:38:29 EDT 2006


Nathan Shair wrote:
> Is there a way to force the struct alignment to be 1 byte instead of the 
> default? I know it's possible to add code to the .h file, but I would 
> rather have it that gccxml does this automatically.

GCC-XML is just dumping the information reported by the GCC parser.  If 
GCC 3.3 has a flag to adjust the alignment just pass the flags to 
gccxml.  Otherwise the answer is no.

-Brad



More information about the gccxml mailing list