From: fabio AT joplin DOT colorado DOT edu (Fabio Somenzi) Subject: Re: FW: Re: wxwin port 10 Nov 1996 04:32:18 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199611101119.EAA16691.cygnus.gnu-win32@joplin.colorado.edu> Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com ->Does anyone have any input on why 16 bytes from gnu-win32 and ->14 for other compiler I believe it's because gcc enforces alignment. The two extra bytes are not used. I've seen it done by other compilers as well. In some applications alignment is important. For instance, a 16-byte structure can be aligned with the boundaries of the cache lines. Alignment may also have to do with the memory manager (reducing the number of buckets,) but I'm not familiar with this aspect of gcc. There may be a gcc option to enforce structure packing, but memory may fail me here. Fabio -- Fabio Somenzi | Phone: 303-492-3466 University of Colorado | Fax: 303-492-2758 ECE Dept. | Email: Fabio AT Colorado DOT EDU Boulder CO 80309-0425 | WWW: http://vlsi.colorado.edu/~fabio - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".