We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear ARM,
In AC5, we use --diag_suppress to suppress warnings. I learn in Arm Compiler armclang Reference Guide Version 6.12 that -Wno can do the same thing. But how shoulo I use -Wno to suppress multiple warnings?
In AC5, --diag_suppress=188,111,186,1 could work. I tried to use -Wno=188,111,186,1 and went wrong.
The warnings (and errors) format that armclang generates are very different to armcc. You can disable groups of warnings, with (for example) -Wno-parentheses, for warnings related to how parentheses "()" are used in your code.
-Wno-all, would disable all warnings.
See https://developer.arm.com/documentation/101754/0618/armclang-Reference/armclang-Command-line-Options/-W--armclang-
Regards, Ronan