[webkit-dev] Build question on QT window version

Jerry K sxk68 at yahoo.com
Tue Oct 9 21:49:43 PDT 2007


Hi George,

I tried your patch, but I saw other compiling error.

+#if PLATFORM(QT) && defined(Q_WS_WIN32)
+#define localtime_r(x, y) localtime_s(y, x)
+#endif

----
\qt\WebKit\WebCore\loader\FTPDirectoryDocument.cpp:237: error: `localtime_s'
undeclared (first use this function)
----

I also searched 'localtime_s' in MinGW/include and Qt/4.3.1/include folders.
I couldn't find the declaration of 'localtime_s'. Where should 'localtime_s'
be? 

Jerry

George Staikos wrote:
> 
> 
> On 8-Oct-07, at 1:08 PM, Jerry K wrote:
> 
>>
>> Can any one answers
>> ..\..\..\WebCore\loader\FTPDirectoryDocument.cpp:233: error:  
>> `localtime_r'
>> undec
>> lared (first use this function)
>>
>> compiling error ?
> 
>    Please file a bug report against the Qt port and assign to me at  
> http://bugs.webkit.org/
> 
>    I have a potential fix that we're testing here.
> 
> --
> George Staikos
> KDE Developer				http://www.kde.org/
> Staikos Computing Services Inc.		http://www.staikos.net/
> 
> 
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-question-on-QT-window-version-tf4589528.html#a13129325
Sent from the Webkit mailing list archive at Nabble.com.



More information about the webkit-dev mailing list