Enables all the warnings about questionable constructs and some language-specific warnings. This option does not enable some warnings that are difficult to avoid and there is no simple way of suppressing those warnings.
-Wc11-extensions
Warns about any use of C11-specific features.
-Werror
Turn warnings into errors.
-Werror=foo
Turn warning foo into an error.
-Wno-error=foo
Leave warning foo as a warning even if -Werror is specified.
-Wfoo
Enable warning foo.
-Wno-foo
Suppress warning foo.
-Weverything
Enable all possible warnings, and includes warnings that are often not helpful. Arm recommends that you do not use this option.
-Wpedantic
Generate warnings if code violates strict ISO C and ISO C++.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.