Re: MSys/MinGW build

From: Kenneth J. Davis (
Date: Thu Jan 01 2004 - 20:36:49 EST

  • Next message: "greyed out preferences"

    >Date: Thu, 01 Jan 2004 19:31:49 -0500
    >From: Jack Dodds <>
    >Subject: Re: MSys/MinGW build
    >Thanks Jeremy - that fixed it - but now the make fails much later with
    >the following:
    >In file included from C:/SW/MSYS/1.0/mingw/include/windows.h:55,
    > from ut_sleep.cpp:24:
    >C:/SW/MSYS/1.0/mingw/include/winuser.h:3411: type specifier omitted for
    > parameter `BLENDFUNCTION'
    >C:/SW/MSYS/1.0/mingw/include/winuser.h:3411: parse error before `*' token
    >make[4]: *** [/c/AWSource/Abi/src/MINGW32_1.0.9_i386_OBJ/obj/ut_sleep.o]
    >Error 1
    >Any suggestions?
    >Jack Dodds

    That's a w32api (MinGW's windows headers) error, you need
    to patch winuser.h with the following as BLENDFUNCTION is
    only defined when the GDI headers are also included. (This
    is roughly the same way it is defined on MSVC, and I think
    more recent w32api's may have fixed this, but not sure).

    #ifndef NOGDI

    [The alternative, that I do not want committed to our source,
     is to edit ut_sleep.cpp and remove the NOGDI #define.]


    To unsubscribe from this list, send a message to with the word
    unsubscribe in the message body.

    This archive was generated by hypermail 2.1.4 : Thu Jan 01 2004 - 20:35:56 EST