From 1bfc30065371a3d28421e2e7af5653e1e78259f3 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Tue, 22 Jan 2019 13:29:35 +0300 Subject: bare-metal: Remove '--warnings_affect_exit_code' option from IAR compiler This option says to the compiler to ends with the exit code '1' instead of '0', when the compilation warnings are detected. In this case e.g. the QtC interpret the warnings as the errors, that is wrong. So, we need to remove this compiler option at all. Change-Id: I8b25ae37220527afe3408cbe0743a897364cbf40 Reviewed-by: Christian Kandeler Reviewed-by: Richard Weickelt --- share/qbs/modules/cpp/iar.js | 1 - 1 file changed, 1 deletion(-) diff --git a/share/qbs/modules/cpp/iar.js b/share/qbs/modules/cpp/iar.js index c2c9e569e..c36fa88d0 100644 --- a/share/qbs/modules/cpp/iar.js +++ b/share/qbs/modules/cpp/iar.js @@ -152,7 +152,6 @@ function compilerFlags(project, product, input, output, explicitlyDependsOn) { if (warnings === "none") { args.push("--no_warnings"); } else if (warnings === "all") { - args.push("--warnings_affect_exit_code"); args.push("--deprecated_feature_warnings=" +"+attribute_syntax," +"+preprocessor_extensions," -- cgit v1.2.3