Subject: one point (Was [Re: FW: Re: wxwin port])
From: [email-masked] (Chin Chee-Kai)

16 Nov 1996 22:07:53 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Authentication-Warning: gensstc.gen.co.jp: smap set sender to <[email-masked]> using -f
Original-To: Keith Gary Boyce <[email-masked]>
Original-Cc: [email-masked]
In-Reply-To: <[email-masked]>
Original-Sender: [email-masked]

Hmm, a minor point -- the "16 bytes" effect doesn't seem to be
"from gnu-win32".  I run into this same situation writing BMP
processing functions earlier on using gcc (2.7.2) on both
Sun Sparc & SGI Indy.  

A "sizeof(BITMAPFILEHEADER)" generated 16 using Sun's cc,
SGI's cc, and gcc on both platforms as well.  In the end,
I resorted to #define-ing 14 on a character array to suit
my purposes.

Chin Chee-Kai (Last, First)
Internet Email-ID:	[email-masked]
Gen Tech Corporation

On Sun, 10 Nov 1996, J.J.Farrell wrote:

> > From: Keith Gary Boyce <[email-masked]>
> > 
> > Does anyone have any input on why 16 bytes from gnu-win32 and
> > 14 for other compiler
> > 
> > >typedef struct tagBITMAPFILEHEADER {
> > >        WORD    bfType;
> > >        DWORD   bfSize;
> > >        WORD    bfReserved1;
> > >        WORD    bfReserved2;
> > >        DWORD   bfOffBits;
> > >} BITMAPFILEHEADER, FAR *LPBITMAPFILEHEADER, *PBITMAPFILEHEADER;

[[ ... other quotations deleted ... ]]

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".