Last active
December 21, 2015 17:18
-
-
Save chbeer/6339038 to your computer and use it in GitHub Desktop.
My current "other c flags" setting for get a good amount of warnings and turn the most important/dangerous warnings into errors.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Wall | |
-Wno-deprecated-declarations | |
-Werror=incompatible-pointer-types | |
-Werror=arc-retain-cycles | |
-Werror=implicit-function-declaration | |
-Werror=return-type | |
-Werror=format | |
-Werror=mismatched-parameter-types | |
-Werror=tautological-constant-out-of-range-compare |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment