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