Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.3.0 Beta1
-
None
-
OSX 10.6.8, XCode 3.2, MacOSX10.6.sdk, gcc 4.2.1
Description
In qtwebkit/Source/ThirdParty/leveldb/Target.pri
gcc {
QMAKE_CXXFLAGS_WARN_ON += -Wno-error=unused-but-set-variable
QMAKE_CXXFLAGS += -Wno-error=unused-but-set-variable
}
-Wno-error=unused-but-set-variable was introduced in gcc 4.6.
Trying to use in older versions causes a compile error:
cc1plus: error: -Werror=unused-but-set-variable: No option -Wunused-but-set-variable
This is in webkit, but the Target.pri file appears to be part of the Qt build system used to build webkit for qtwebkit.
Not sure if you want to support gcc pre 4.6, but I wanted to report so it is known.