RESOLVED FIXED 27709
[Qt] Disable some compiler warnings for the win build
https://bugs.webkit.org/show_bug.cgi?id=27709
Summary [Qt] Disable some compiler warnings for the win build
Laszlo Gombos
Reported 2009-07-27 06:30:59 PDT
I propose to disable the following windows warnings for the QtWebKit windows build. All of these warnings are disabled for the Safari Windows build as well. warning C4503: decorated name length exceeded, name was truncated warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) warning C4819: The file contains a character that cannot be represented in the current code page (XXX). Save the file in Unicode format to prevent data loss" -- see r46398 warning C4996: This function or variable may be unsafe. Consider using YYY instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. I would like to also propose to apply these options in WebKit.pri so that they are applicable for the entire QtWebKit project and not just for QtWebKit.dll.
Attachments
proposed patch. (2.23 KB, patch)
2009-07-27 06:35 PDT, Laszlo Gombos
hausmann: review+
Laszlo Gombos
Comment 1 2009-07-27 06:35:09 PDT
Created attachment 33541 [details] proposed patch.
Simon Hausmann
Comment 2 2009-07-28 05:25:54 PDT
Comment on attachment 33541 [details] proposed patch. r=me. Thanks :)
Simon Hausmann
Comment 3 2009-07-28 05:27:15 PDT
Landed in r46471
Note You need to log in before you can comment on or make changes to this bug.