diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-11-28 21:35:33 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-03 00:58:02 +0100 |
commit | e02cb2b31ab0b171f11d278305d9f532f005bc80 (patch) | |
tree | 1dd185828729dba507cc2742fe1c495f9559ae43 /src/qml/qml.pro | |
parent | 552d959d90cfad6e15b82a9616bfa6a3679cd782 (diff) |
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 <simon.hausmann@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/qml/qml.pro')
-rw-r--r-- | src/qml/qml.pro | 3 |
1 files changed, 3 insertions, 0 deletions
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 \ |