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

Leander Bessa leanderbb at gmail.com
Thu Oct 13 04:37:11 PDT 2011


That did it, thank you.

Regards,

Leander

2011/10/13 Osztrogonac Csaba <oszi at inf.u-szeged.hu>

> Hi,
>
> You should remove the following line from WebKit.pri to disable Werror:
> isEqual(QT_ARCH,x86_64)|**isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror
>
> br,
> Ossy
>
> Leander Bessa írta:
>
>  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
>>
> ______________________________**_________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/**mailman/listinfo.cgi/webkit-**help<http://lists.webkit.org/mailman/listinfo.cgi/webkit-help>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111013/937290a7/attachment.html>


More information about the webkit-help mailing list