Skip to content

Instantly share code, notes, and snippets.

@macmade
Created November 18, 2011 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macmade/1376680 to your computer and use it in GitHub Desktop.
Save macmade/1376680 to your computer and use it in GitHub Desktop.
Objective-C Clang Warning Flags
‎-Wall
-Wbad-function-cast
-Wcast-align
-Wconversion
-Wdeclaration-after-statement
-Wdeprecated-implementations
-Wextra
-Wfloat-equal
-Wformat=2
-Wformat-nonliteral
-Wfour-char-constants
-Wimplicit-atomic-properties
-Wmissing-braces
-Wmissing-declarations
-Wmissing-field-initializers
-Wmissing-format-attribute
-Wmissing-noreturn
-Wmissing-prototypes
-Wnested-externs
-Wnewline-eof
-Wold-style-definition
-Woverlength-strings
-Wparentheses
-Wpointer-arith
-Wredundant-decls
-Wreturn-type
-Wsequence-point
-Wshadow
-Wshorten-64-to-32
-Wsign-compare
-Wsign-conversion
-Wstrict-prototypes
-Wstrict-selector-match
-Wswitch
-Wswitch-default
-Wswitch-enum
-Wundeclared-selector
-Wuninitialized
-Wunknown-pragmas
-Wunreachable-code
-Wunused-function
-Wunused-label
-Wunused-parameter
-Wunused-value
-Wunused-variable
-Wwrite-strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment