From e02cb2b31ab0b171f11d278305d9f532f005bc80 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 28 Nov 2013 21:35:33 -0800 Subject: Allow QtQml to compile with ICC 14.0 with -Werror Third-party source contains a static variable that is only used in debugging code (an ASSERT). cached-powers.cc(134): warning #2415: variable "double_conversion::kCachedPowersLength" of static storage duration was declared but never referenced static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers); Change-Id: I97ea9ada8f03d9fd45149fbc4bfdf61877498339 Reviewed-by: Simon Hausmann Reviewed-by: Oswald Buddenhagen --- src/qml/qml.pro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qml/qml.pro') diff --git a/src/qml/qml.pro b/src/qml/qml.pro index 08bda0bce7..294983b95b 100644 --- a/src/qml/qml.pro +++ b/src/qml/qml.pro @@ -17,6 +17,9 @@ exists("qqml_enable_gcov") { QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf +# 2415: variable "xx" of static storage duration was declared but never referenced +intel_icc: WERROR += -ww2415 + load(qt_module) HEADERS += qtqmlglobal.h \ -- cgit v1.2.3