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

Osztrogonac Csaba oszi at inf.u-szeged.hu
Thu Oct 13 04:23:57 PDT 2011


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


More information about the webkit-help mailing list