[Webkit-unassigned] [Bug 35607] Allow building smoothly on win32 and win64 using GCC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 15 13:59:44 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=35607





--- Comment #51 from vanboxem.ruben at gmail.com  2010-04-15 13:59:43 PST ---
Yes, there is a 64 bit Qt build (either MSVC or since very recently mingw-w64,
thanks to me :)

I'm gonna upload a new patch later, first to answer your questions
(back-to-front):

 - LONG_PTR indeed, thought I fixed that :s
 - Windows x64 has 64-bit pointer, and this includes window handles and all
that. MSVC warns, gcc errors out. That's why the casts need fixing. I'm not
sure how to handle this now in WebCore/bridge/npapi.h. A Win32 handle now
returns intptr_t's for x64 compatibility, not int or anything like that (see
msdn).
 - This errors out on gcc, so yes, necessary
 - That I do not know. But it is also used as a value to store a pointer cast
to void* which requires 64 bits of space on x64 windows, not provided by
unsigned long on Win64. Again, gcc errors out, MSVC only warns. IMHO, I think
nothing will break, as uintptr_t has the right type on mac and linux, and
adapts to either
32-bit integer type on Windows x86, or
64-bit integer type on Windows x64. So I think it is the best choice.

PS: the Qt 4.7 can now be built with mingw-w64 with "configure -platform
win32-g++ -no-webkit [-sse sse2 -mmx -3dnow]"

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list