aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-01-03 21:08:15 -0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-04 00:41:55 +0100
commit60aed669345be33b916c44556555b922aa3ed928 (patch)
tree1670c1a1715332ae760dc35eb4e0b5fdfb4bea18 /src/qml/qml.pro
parentfa5db4201945565bd2c5ff42ab233f497666003f (diff)
Also fix the unused variable warning that ICC found with Clang
The ICC fix happened on e02cb2b31ab0b171f11d278305d9f532f005bc80. This now fixes for Clang 3.4: cached-powers.cc:134:18: warning: unused variable 'kCachedPowersLength' [-Wunused-const-variable] Change-Id: I876d9d5cf43fb7eb76117d6fdc37265295c360df Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml.pro')
-rw-r--r--src/qml/qml.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml.pro b/src/qml/qml.pro
index d060b2d8c8..d0f655609e 100644
--- a/src/qml/qml.pro
+++ b/src/qml/qml.pro
@@ -19,7 +19,9 @@ exists("qqml_enable_gcov") {
QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf
# 2415: variable "xx" of static storage duration was declared but never referenced
+# unused variable 'xx' [-Werror,-Wunused-const-variable]
intel_icc: WERROR += -ww2415
+clang: WERROR += -Wno-error=unused-const-variable
load(qt_module)