kio/kulcompletion platform independent implementation ?

Jeremy ALLES jeremy.alles at gmail.com
Tue Apr 8 15:42:09 CEST 2008


Hi,

I just tried to build kdelibs on windows using MSVC 2008. I got an error
becaue of undefined symbol for readdir_r. Is that going to be fix, or am I
doing something wrong ?

Regards,
Jeremy

2008/4/5, Jaroslaw Staniek <js at iidea.pl>:
>
> Christian Ehrlicher said the following, On 2008-04-05 21:24:
>
> > Jeff Mitchell schrieb:
> >> Ralf Habacker wrote:
> >>> Hi,
> >>>
> >>> i saw that the class KUrlCompletion uses the posix functions
> >>> opendir/readdir/closedir. Any idea why this is not implemented
> platform
> >>> independent by using QDir ?
> >> Don't know, but is this actually causing problems?  Or is it handled by
> >> Windows' POSIX subsystem?
> >>
> > Avoid M$'s posix functions as much as possible... they mostly work but
> > sometimes not the way they should.
> >
> > @Ralf: ask k-c-d if we can replace them with Qt functions.
>
>
> Agreed. Moreover, one note about msvc 2005 or newer: there are assertions
> forcing us to use the API funcions strictly according to documentation,
> i.e
> when NULL argument is not allowed somewhere, we should not use it.
> We can forget this by switching to Qt's counterparts.
>
>
> --
> regards / pozdrawiam, Jaroslaw Staniek
>   Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work
> on
>   Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
>   KDE Libraries for MS Windows (http://windows.kde.org)
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20080408/8313e664/attachment.html 


More information about the Kde-windows mailing list