On Thu, Feb 9, 2012 at 9:57 AM, Paul Eggleton <[email protected]> wrote: > +Fix the following error during compiling with gcc 4.6: > + > +./wtf/NullPtr.h:48:1: error: identifier 'nullptr' will become a keyword in > C++0x [-Werror=c++0x-compat] > + > +Signed-off-by: Paul Eggleton <[email protected]> > + > +Upstream-Status: Pending > + > +--- > qt-everywhere-opensource-src-4.8.0.orig/src/3rdparty/webkit/Source/WebKit.pri > ++++ qt-everywhere-opensource-src-4.8.0/src/3rdparty/webkit/Source/WebKit.pri > +@@ -102,8 +102,6 @@ CONFIG -= warn_on > + > + # Treat warnings as errors on x86/Linux/GCC > + linux-g++* { > +- isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror > +-
since there is a namespace conflict that should be fixed IMO removing Wrror is not quite the right thing to do here IMO. Its a workaround but probably upstream wont accept it. So change nullptr here to something like qt_nullptr in source tree _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
