Subject: cross-cygwin32; alignement problems
To: None <>
From: Arto Huusko <>
List: tech-pkg
Date: 10/03/2001 16:23:45

just found a pretty severe problem in the cross/i386-cygwin32 package: it
has alignement problems.

The w32api defines the PRINTDLG structure in commdlg.h file. The
"sizeof" of this structure ends up wrong, preventing me from using it.
In the structure, there are 5 WORD fields followed by 32 bit fields
and apparently the compiler inserts two bytes of padding after the

Any solutions? I guess there is somewhere an egcs configuration bit to
change the alginement but I'm not sure where to look.

Arto Huusko (  | Diving Is Fun