[Development] error compiling

Nicola De Filippo nicola at nicoladefilippo.it
Tue Oct 25 15:50:22 CEST 2011


Hi,
compiling qt5 on kubuntu 11.10 and  gcc 4.6.1 i have this error:

In file included from ../../../Source/JavaScriptCore/wtf/PassRefPtr.h:25:0,
                 from 
../../../Source/JavaScriptCore/wtf/CrossThreadRefCounted.h:35,
                 from ../../../Source/JavaScriptCore/wtf/text/StringImpl.h:28,
                 from ../../../Source/JavaScriptCore/runtime/UString.h:26,
                 from ../../../Source/JavaScriptCore/yarr/YarrPattern.h:30,
                 from 
../../../Source/JavaScriptCore/yarr/YarrInterpreter.h:29,
                 from 
../../../Source/JavaScriptCore/yarr/YarrInterpreter.cpp:28:
../../../Source/JavaScriptCore/wtf/NullPtr.h:48:1: error: identifier ‘nullptr’ 
will become a keyword in C++0x [-Werror=c++0x-compat]
cc1plus: all warnings being treated as errors

make[3]: *** [.obj/release-static/YarrInterpreter.o] Errore 1
make[3]: uscita dalla directory 
"/home/nicola/src/qt5/qt5/qtwebkit/WebKitBuild/Release/JavaScriptCore"
make[2]: *** [sub-JavaScriptCore-JavaScriptCore-pro-install_subtargets-
ordered] Errore 2
make[2]: uscita dalla directory 
"/home/nicola/src/qt5/qt5/qtwebkit/WebKitBuild/Release"
make[1]: *** [module-qtwebkit-install] Errore 2
make[1]: uscita dalla directory "/home/nicola/src/qt5/qt5"
make: *** [sub-qtwebkit-pri-install_subtargets] Errore 2

Which is gcc version necessary?

                        N.



More information about the Development mailing list