Subject: cross-cygwin32; alignement problems
To: None <tech-pkg@netbsd.org>
From: Arto Huusko <arto.huusko@utu.fi>
List: tech-pkg
Date: 10/03/2001 16:23:45
Hi,

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
WORDs.

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 (arto.huusko@utu.fi)  | Diving Is Fun