KDEWIN32 library

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Tue Feb 14 18:21:31 CET 2006


> -----Original Message-----
> From: Christian Ehrlicher [mailto:Ch.Ehrlicher at gmx.de]
> Sent: terça-feira, 14 de Fevereiro de 2006 16:52
> To: kde-buildsystem at kde.org
> Subject: Re: KDEWIN32 library


> > I'm trying to use MinGW now and having this errors:
> >
> > "Building C object CMakeFiles/kdewin32.dir/src/resource.obj"
> > In file included from D:/kde/trunk/kdelibs/win/src/resource.c:23:
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h: In function
> `gettimeofday':
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:45: error: storage
> class specified for parameter `rlim_t'
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:48: error: syntax
> error before "rlim_t"
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:48: warning: no
> semicolon at end of struct or union
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:79: warning:
> structure defined inside parms
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:79: warning: empty
> declaration
> > D:/kde/trunk/kdelibs/win/include/mingw/sys/resource.h:81: error: syntax
> error before "__attribute__"
> > mingw32-make[2]: *** [CMakeFiles/kdewin32.dir/src/resource.obj] Error 1
> > mingw32-make[1]: *** [CMakeFiles/kdewin32.dir/all] Error 2
> > mingw32-make: *** [all] Error 2
> >
> > I'll try to fix them, thanks for the tips.
> Looks like I ignored gcc in kdelibs/win/include/winposix_export.h...
> Please try to define WINPOSIX_EXPORT & WINPOSIX_IMPORT to be empty (in
> line 31):
> #define WINPOSIX_EXPORT
> #define WINPOSIX_IMPORT
> 
> I'll try to fix it a better way this evening.

It seems that it breaks something:

In file included from D:/kde/trunk/kdelibs/win/src/bootstrap.cpp:21:
D:/kde/trunk/kdelibs/win/include/mingw/string.h:33: error: expected constructor, destructor, or type conversion before "char"
D:/kde/trunk/kdelibs/win/include/mingw/string.h:33: error: expected `,' or `;' before "char"
D:/kde/trunk/kdelibs/win/include/mingw/string.h:37: error: expected constructor, destructor, or type conversion before "unsigned"
D:/kde/trunk/kdelibs/win/include/mingw/string.h:37: error: expected `,' or `;' before "unsigned"
[...]

Paulo


More information about the Kde-buildsystem mailing list