Mark ICC 18 & 19 as warning-free
Change-Id: I052407b777ec43f78378fffd15311de83f978817 Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
This commit is contained in:
parent
3e4f8aa8f4
commit
e9c08f8287
@ -112,16 +112,17 @@ warnings_are_errors:warning_clean {
|
|||||||
QMAKE_CXXFLAGS_WARN_ON += -Werror -Wno-error=\\$${LITERAL_HASH}warnings -Wno-error=deprecated-declarations $$WERROR
|
QMAKE_CXXFLAGS_WARN_ON += -Werror -Wno-error=\\$${LITERAL_HASH}warnings -Wno-error=deprecated-declarations $$WERROR
|
||||||
}
|
}
|
||||||
} else:intel_icc:linux {
|
} else:intel_icc:linux {
|
||||||
# Intel CC 13.0 - 17.0, on Linux only
|
# Intel CC 13.0 - 18.0, on Linux only
|
||||||
ver = $${QT_ICC_MAJOR_VERSION}.$${QT_ICC_MINOR_VERSION}
|
ver = $${QT_ICC_MAJOR_VERSION}.$${QT_ICC_MINOR_VERSION}
|
||||||
linux:contains(ver, "(1[3456]\\.|17\\.0)") {
|
linux:contains(ver, "(1[345678]\\.|19\\.0)") {
|
||||||
# 177: function "entity" was declared but never referenced
|
# 177: function "entity" was declared but never referenced
|
||||||
# (too aggressive; ICC reports even for functions created due to template instantiation)
|
# (too aggressive; ICC reports even for functions created due to template instantiation)
|
||||||
# 1224: #warning directive
|
# 1224: #warning directive
|
||||||
# 1478: function "entity" (declared at line N) was declared deprecated
|
# 1478: function "entity" (declared at line N) was declared deprecated
|
||||||
|
# 1786: function "entity" (declared at line N of "file") was declared deprecated ("message")
|
||||||
# 1881: argument must be a constant null pointer value
|
# 1881: argument must be a constant null pointer value
|
||||||
# (NULL in C++ is usually a literal 0)
|
# (NULL in C++ is usually a literal 0)
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -Werror -ww177,1224,1478,1881 $$WERROR
|
QMAKE_CXXFLAGS_WARN_ON += -Werror -ww177,1224,1478,1786,1881 $$WERROR
|
||||||
}
|
}
|
||||||
} else:gcc:!clang:!intel_icc:!rim_qcc {
|
} else:gcc:!clang:!intel_icc:!rim_qcc {
|
||||||
# GCC 4.6-4.9, 5.x, ...
|
# GCC 4.6-4.9, 5.x, ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user