Commit dc8d0f04 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Suppress noexcept-type warnings also in qbs build

This amends commit 68589a3f.

Change-Id: Idf0e296f7549e8aea7109e0c877e27032b99e9b8
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
parent 1406bbee
...@@ -26,6 +26,10 @@ Product { ...@@ -26,6 +26,10 @@ Product {
cpp.minimumMacosVersion: project.minimumMacosVersion 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.cxxLanguageVersion: "c++14"
cpp.defines: qtc.generalDefines cpp.defines: qtc.generalDefines
cpp.minimumWindowsVersion: qbs.architecture === "x86" ? "5.1" : "5.2" cpp.minimumWindowsVersion: qbs.architecture === "x86" ? "5.1" : "5.2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment