delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/08/01:09:37

From: dbaker AT direct DOT ca (Tim Baker)
Subject: MINGW32 Header bug zapped me!
8 Feb 1998 01:09:37 -0800 :
Message-ID: <34DD6530.C39473CF.cygnus.gnu-win32@direct.ca>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

First of all, I'm talking about the Windows header files included with
Jan-Jaap's GCC 2.8.0 distribution. In "Structures.h" this structure
should be as it is here:

typedef struct tagBITMAPFILEHEADER {
  WORD    bfType;
  DWORD   bfSize;
  WORD    bfReserved1;
  WORD    bfReserved2;
  DWORD   bfOffBits;
}  __attribute__((packed)) BITMAPFILEHEADER;

Jan-Jaap's header is missing the "__attribute__" thing, and it needs it.

The strange thing is, the "__attribute__" appears in  Collin Peter's
header (version 0.1.4). Hmmm.

-- Tim Baker

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019