|ARM Technical Support Knowledge Articles|
fromelf, the command-line option
--diag_error=<tag> will upgrade a specific warning message (with a number matching
<tag>) to an error.
With RVCT 4.0 build 650 and later, you can also use
--diag_error=warning, which will cause all warnings to be upgraded to errors.
There are similar options available to make other changes to the severity of diagnostic messages, for example:
||All warnings are suppressed|
||All downgradeable errors become warnings|
armclang, the equivalent feature is
-Werror=foo will upgrade the specific warning
foo into an error.
||Inhibit all warning messages|
||Make all warnings into errors|
||Leave warning foo as a warning even if
Although it is possible to suppress warning messages, ARM does not recommend that you do so. Warning messages provide valuable diagnostic information for debugging purposes, and you should only suppress them if you have a specific reason to.
Article last edited on: 2016-05-04 21:40:45
Did you find this article helpful? Yes No
How can we improve this article?