mingw status

Peter Kümmel syntheticpp at gmx.net
Fri Feb 17 19:24:42 CET 2006


Paulo Jorge Guedes wrote:
> Hi,
> 
> So far everything until kjs compiled, provided WINVER is set to 0x0501
> in windef.h:
> 
> dcop
> libltdl
> kdefx
> kdecore
> kdeui
> 
> The build stops at kjs with the following error:
> 
> In file included from C:/MinGW/include/windows.h:48,
>                  from C:/MinGW/include/winsock2.h:22,
>                  from D:/KDE4/include/mingw/unistd.h:26,
>                  from d:/kde/trunk/kdelibs/config.h:336,
>                  from grammar.y:23:
> C:/MinGW/include/windef.h:242: error: expected unqualified-id before
> numeric constant

Investigating this bug I've found that we had the same with msvc.
The problem is the including of unistd.h in config.h.
I've commited the solution. Hope this helps.

I've tried to use mingw, but not even finding pcre was successful.

Peter


More information about the Kde-buildsystem mailing list