aboutsummaryrefslogtreecommitdiffstats
path: root/qbs
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2017-10-28 22:12:48 +0300
committerOrgad Shaneh <orgads@gmail.com>2017-10-30 10:53:50 +0000
commitdc8d0f048a408ef2e77eba1096fc4ac7be632449 (patch)
tree1e0dfae6606573092d74ce35aa154888c9658540 /qbs
parent1406bbeec7a7f8e7185479fc2d66cc729a2eeb3c (diff)
Suppress noexcept-type warnings also in qbs build
This amends commit 68589a3fbc9afe4485baf728729c969e0f508385. Change-Id: Idf0e296f7549e8aea7109e0c877e27032b99e9b8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r--qbs/imports/QtcProduct.qbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/qbs/imports/QtcProduct.qbs b/qbs/imports/QtcProduct.qbs
index ea9fb30163..c6b130effe 100644
--- a/qbs/imports/QtcProduct.qbs
+++ b/qbs/imports/QtcProduct.qbs
@@ -26,6 +26,10 @@ Product {
cpp.minimumMacosVersion: project.minimumMacosVersion
}
+ Properties {
+ condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("clang")
+ cpp.cxxFlags: base.concat(["-Wno-noexcept-type"])
+ }
cpp.cxxLanguageVersion: "c++14"
cpp.defines: qtc.generalDefines
cpp.minimumWindowsVersion: qbs.architecture === "x86" ? "5.1" : "5.2"