WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
30718
WebKit should build with Visual Studio 2010
https://bugs.webkit.org/show_bug.cgi?id=30718
Summary
WebKit should build with Visual Studio 2010
Steve Falkenburg
Reported
2009-10-23 09:47:29 PDT
We should make the WebKit Windows build compatible with Visual Studio 2010. B2 is available for download now to MSDN subscribers.
Attachments
Build error using VS2010/x64 when building QtWebKit from Qt 4.6.0
(46.19 KB, text/plain)
2009-12-03 02:13 PST
,
webkit
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Steve Falkenburg
Comment 1
2009-10-23 10:00:36 PDT
Several issues block seamless conversion to VS2010 using the conversion tool: Projects converted from VS2008 to VS2010 are missing inherited property sheets <
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=498791
> AdditionalIncludeDirectories in vsprops files not properly converted <
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=500197
>
Steve Falkenburg
Comment 2
2009-10-23 13:04:31 PDT
Also: Files excluded from all targets cause conversion difficulty for vcproj conversion to vcxproj <
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=500334
>
webkit
Comment 3
2009-12-03 02:13:06 PST
Created
attachment 44219
[details]
Build error using VS2010/x64 when building QtWebKit from Qt 4.6.0 I just tried to build Qt 4.6.0 with Visual Studio, it works fine with VS 2008/x64, but VS 2010/x64 fails to compile.
John Brooks
Comment 4
2009-12-13 10:20:54 PST
After some insight from Thiago Macieira of Nokia, I did a little testing and isolated the compilation failure in
comment #3
to what seems to be a compiler bug. Specifically, during the initialization of std::pair (for reasons unknown to me), the implicit conversion from 0 to a pointer type is not performed, resulting in those errors. An explicit cast or nullptr behaves as expected. I've reported that bug to microsoft at
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=520043
John Brooks
Comment 5
2009-12-16 20:51:44 PST
According to the response to the compiler bug submitted in
comment #4
, it seems that Microsoft recognizes but cannot fix that compilation issue for VS2010. The full reply can be read there. Be it sooner or later, it will be necessary to fix this in some way for VS2010 compilation to work. The bug specifically involves the use of a 0 literal in the std::pair constructor, and can be worked around using the new nullptr keyword (which is not compatible with any non-C++0x compiler) or by casting the literal explicitly. The latter seems like the obvious solution, and as this issue is holding back Qt and other software from compiling under VS2010, that minor fix would be better sooner than later. I would appreciate if someone in a better position to build webkit were to look into patching that, but if not, I will do so when time permits.
Jarred Nicholls
Comment 6
2011-08-27 18:31:43 PDT
Unless I'm mistaken, this isn't an issue anymore...?
Jarred Nicholls
Comment 7
2011-12-23 18:31:09 PST
Confident that QtWebKit builds with Visual Studio 2010, so I'm going to close this bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug