I know gcc
has an option -Werror
, which can stop compile if there is an warning, if armcc
has similar option, because I want to have a good code quality control in compile level
additional info:
I use armcc
2.2 build 616, I consult ARM, it said --diag_error=warning
was add ONLY for armcc
4.0 or later
I got answer from ARM, use following
--diag_error=[warning/error_refer_number]
for example:
--diag_error=179,180
Since ARM add --diag_error=warning
for armcc
4.0 or later, for old armcc
, I ONLY can specify which warning number will STOP the compile process