[webkit-help] Removing -Werror flag from QtWebkit port

Leander Bessa leanderbb at gmail.com
Thu Oct 13 04:20:18 PDT 2011


Hello,

I'm having some difficulties removing the -Werror flag from the QtWebkit
port. I'm using Fedora 15 (64bit) with GCC 4.6.1. With the -Werror flag i
always end up with the following error:

../../../Source/JavaScriptCore/wtf/NullPtr.h:50:1: error: identifier
‘nullptr’ will become a keyword in C++0x [-Werror=c++0x-compat]
cc1plus: all warnings being treated as errors

I've tried passing the following arguments in order to remove the flag, but
they did not work:

--qmakearg="CXXFLAGS-=-Werror CFLAGS-=-Werror"


Any suggestions?


Regards,

Leander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111013/98fbedd5/attachment.html>


More information about the webkit-help mailing list