aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldevtools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-05-07 23:58:01 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-09 01:55:18 +0200
commitf3aecd86821bdb31a03085c905ad8da118347897 (patch)
treed468f13d9b3d9307e8b0e9dd00bbae29f670c9cb /src/qmldevtools
parent50eaeab378ebef60305d47b2b0f2f5eb39641338 (diff)
Re-fix the warning from cached-powers.cc
This file is now getting included in a different module. See also e02cb2b31ab0b171f11d278305d9f532f005bc80, 60aed669345be33b916c44556555b922aa3ed928, and 66e72c2cf08c2d2c381c6c22e4760d0df758af52. Change-Id: Ic886bdf823d5dd6d9ae3df64608d8bb9d901661f Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qmldevtools')
-rw-r--r--src/qmldevtools/qmldevtools.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qmldevtools/qmldevtools.pro b/src/qmldevtools/qmldevtools.pro
index 25d6494558..5af5443df7 100644
--- a/src/qmldevtools/qmldevtools.pro
+++ b/src/qmldevtools/qmldevtools.pro
@@ -10,6 +10,12 @@ MODULE_PRIVATE_INCLUDES = \
\$\$QT_MODULE_INCLUDE_BASE/QtQml/$$QT.qml.VERSION \
\$\$QT_MODULE_INCLUDE_BASE/QtQml/$$QT.qml.VERSION/QtQml
+# 2415: variable "xx" of static storage duration was declared but never referenced
+# unused variable 'xx' [-Werror,-Wunused-const-variable]
+intel_icc: WERROR += -ww2415
+clang:if(greaterThan(QT_CLANG_MAJOR_VERSION, 3)|greaterThan(QT_CLANG_MINOR_VERSION, 3)): \
+ WERROR += -Wno-error=unused-const-variable
+
load(qt_module)
include(../3rdparty/masm/masm-defs.pri)