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
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to