From f3aecd86821bdb31a03085c905ad8da118347897 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 7 May 2014 23:58:01 -0700 Subject: 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 --- src/qmldevtools/qmldevtools.pro | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qmldevtools') 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) -- cgit v1.2.3