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
for example:
Since ARM add
--diag_error=warning
forarmcc
4.0 or later, for oldarmcc
, I ONLY can specify which warning number will STOP the compile process