문제

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

도움이 되었습니까?

해결책 2

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

다른 팁

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top