summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-icc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-12-04 21:29:06 -0800
committerJani Heikkinen <jani.heikkinen@qt.io>2016-12-07 13:21:01 +0000
commit3695c2ee11876fddc090db4d0e8ffa315c5b4dac (patch)
treef2dba4d9f2c616dcc54cf5b4c06afed10a006ae0 /mkspecs/linux-icc
parent7df0c7a309ada7f9ab70a2c20f86c0707288e31e (diff)
Disable ICC warning 3373
This warning does not make sense. it seems to trigger when in code like the following in template functions: auto x = 1, y = 2; 3373: nonstandard use of "auto" to both deduce the type from an initializer and to announce a trailing return type Other reports on the Internet indicate that no one understands what triggers this warning and have just worked around it. Additionally, the same warning exists on other compilers with the same text, so it's likely come from the EDG front-end. This has been reported to Intel. Change-Id: I73fa1e59a4844c43a109fffd148d45065ab69eff Intel-Issue-ID: 6000164202 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'mkspecs/linux-icc')
-rw-r--r--mkspecs/linux-icc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/linux-icc/qmake.conf b/mkspecs/linux-icc/qmake.conf
index 495fd15e80..2c66e80db4 100644
--- a/mkspecs/linux-icc/qmake.conf
+++ b/mkspecs/linux-icc/qmake.conf
@@ -14,7 +14,7 @@ QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS =
QMAKE_CFLAGS_APP = -fPIC
QMAKE_CFLAGS_DEPS = -M
-QMAKE_CFLAGS_WARN_ON = -w1 -Wall -Wcheck -wd1572,873,2259,2261
+QMAKE_CFLAGS_WARN_ON = -w1 -Wall -Wcheck -wd1572,873,2259,2261,3373
QMAKE_CFLAGS_WARN_OFF = -w
QMAKE_CFLAGS_RELEASE = -O2 -falign-functions=16 -ansi-alias -fstrict-aliasing
QMAKE_CFLAGS_DEBUG = -O0 -g