APR and kdewin32 interference

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri May 11 06:58:27 CEST 2007


Andreas Pakulat schrieb:
> Hi,
> 
> today I had a bit of time to look into the build problems of KDevelop4
> on Windows. It can't build its subversion plugin, the error I get is
> here:
> 
> http://www.apaku.de/vardata/kdevbuildsvn
> 
> I created the precompiler output:
> 
> http://www.apaku.de/vardata/preproc_svnpart
> 
> It seems that for some reason the kdewin32 string.h header gets included
> instead of the mingw version
That's the way kdewin32 works :)
> which seems to cause the errors. Look at
> line 1050 and following. The string.h includes types.h from kdewin32 and
> this defines uid_t and so on.
> 
> Anybody with a hint how to work around this or how to fix it?
Yes, take a look into apr.h to see if it's defined conditionally. If not 
we have to do it in our headers (it's already done for size_t & ssize_t 
but not for the rest)
> 
> Manually changing the include-dirs by removing -ID:.../install/mingw
> fixes the compilation. Maybe its possible to not add the mingw subdir to
> the include dirs and change all places that need it to do
> 
> #include <mingw/foo.h>
> 
> instead?
> 
> Andreas
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070511/49f9cb5c/attachment.pgp 


More information about the Kde-windows mailing list