[webkit-dev] Build question on QT window version

Jerry K sxk68 at yahoo.com
Mon Oct 15 11:54:18 PDT 2007


I post my workaround here, if someone has same problem. And according to
Pushparajan, there are some info can be found in pthread.h (win32) about
localtime_r and gmtime_r.

1.WebCore/loader/FTPDirectoryParser.cpp
gmtime_r(x, y) or gmtime_s(y, x) to use (gmtime)
 
2. WebCore/loader/FTPDirectoryDocument.cpp
localtime_r(x, y) or localtime_s(y, x) to use (localtime)
 
3.JavaScriptCore/kjs/testkjs.cpp
-#if PLATFORM(WIN_OS)
+#if PLATFORM(WIN)
Jerry

Pushparajan V wrote:
> 
> Hi jerry,
> 
> Me too getting the same localtime_s compile time error.. Can you give the
> bug ID so that i can also follow it ?
> 
> On 10/11/07, David D. Kilzer <ddkilzer at kilzer.net> wrote:
>>
>> Jerry K <sxk68 at yahoo.com> wrote:
>>
>> > I found some discussions about localtime_s when using MinGW.
>> > http://www.nabble.com/Need-localtime_s-t4584803.html#a13108085
>> >
>> > I followed the suggestion to write some functions to work around the
>> > compiling error and it works.
>> > [Still using MingGW, since
>> >
>> http://trac.webkit.org/projects/webkit/wiki/BuildingQtOnWindowsinstructs]
>>
>> Please file a bug on http://bugs.webkit.org/ and post a patch.  Thanks!
>>
>> Dave
>>
>>
>>
>>
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo/webkit-dev
>>
> 
> 
> 
> -- 
> Pushparajan V
> http://www.vprajan.org
> 
> _______________________________________________
> 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#a13219371
Sent from the Webkit mailing list archive at Nabble.com.



More information about the webkit-dev mailing list