diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2019-01-22 13:29:35 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2019-01-22 15:43:23 +0000 |
commit | 1bfc30065371a3d28421e2e7af5653e1e78259f3 (patch) | |
tree | e3916c7d3bb1ec7aa2bf513a6f7062b35bf69bd8 /share | |
parent | d14bef846b0b3ab6513837c0ab20b3d143c17b00 (diff) |
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 <christian.kandeler@qt.io>
Reviewed-by: Richard Weickelt <richard@weickelt.de>
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/modules/cpp/iar.js | 1 |
1 files changed, 0 insertions, 1 deletions
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," |