Re: [Cppunit-devel] compile error when cppunit 1.10.2 with mingw
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-07-15 17:45:15
|
Martin Jacob wrote: > I have problem to build cppunit by using mingw. > > I using: > - Win 2000 > - MinGW-3.1.0-1 > - MSYS-1.0.10 > - msysDTK-1.0.1 > > ./configure works fine. > > when running mingw32-make I get the following errormessage > > Win32DynamicLibraryManager.cpp:1: > c:/Programme/Mingw/include/c++/3.2.3/mingw32/bits/os_defines.h:45:1: > warning: this is the location of the previous definition > In file included from c:/Programme/Mingw/include/windows.h:55, > from Win32DynamicLibraryManager.cpp:12: > c:/Programme/Mingw/include/winuser.h:3411: type specifier omitted for > parameter `BLENDFUNCTION' This has been fixed in CVS. Just add the following definition in the guilty cpp: #define BLENDFUNCTION void // for mingw & gcc Don't know why the mingw team did not fix the header to handle this by default. Anyone know ? Baptiste. --- Baptiste Lepilleur <bl...@us...> CppUnit maintainer OpenTest and CppUnit 2 developer. |