This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

MINGW32 Header bug zapped me!


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]