Permalink
Browse files

Added more warning flags.

  • Loading branch information...
superjohan committed Aug 22, 2012
1 parent b34e3a2 commit 1ba7ba5a6a57792c0383e134f351ccffcfb52069
Showing with 54 additions and 0 deletions.
  1. +54 −0 Circlo.xcodeproj/project.pbxproj
@@ -535,6 +535,24 @@
PROVISIONING_PROFILE = "";
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
+ WARNING_CFLAGS = (
+ "-Wall",
+ "-Wextra",
+ "-Wformat=2",
+ "-Wno-format-nonliteral",
+ "-Wpacked",
+ "-Winit-self",
+ "-Wmissing-noreturn",
+ "-Wold-style-definition",
+ "-Wnested-externs",
+ "-Wredundant-decls",
+ "-Wwrite-strings",
+ "-Wstrict-prototypes",
+ "-Winline",
+ "-Wmissing-field-initializers",
+ "-Wundeclared-selector",
+ "-Wno-unused-parameter",
+ );
};
name = Debug;
};
@@ -557,6 +575,24 @@
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
+ WARNING_CFLAGS = (
+ "-Wall",
+ "-Wextra",
+ "-Wformat=2",
+ "-Wno-format-nonliteral",
+ "-Wpacked",
+ "-Winit-self",
+ "-Wmissing-noreturn",
+ "-Wold-style-definition",
+ "-Wnested-externs",
+ "-Wredundant-decls",
+ "-Wwrite-strings",
+ "-Wstrict-prototypes",
+ "-Winline",
+ "-Wmissing-field-initializers",
+ "-Wundeclared-selector",
+ "-Wno-unused-parameter",
+ );
};
name = Release;
};
@@ -596,6 +632,24 @@
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
+ WARNING_CFLAGS = (
+ "-Wall",
+ "-Wextra",
+ "-Wformat=2",
+ "-Wno-format-nonliteral",
+ "-Wpacked",
+ "-Winit-self",
+ "-Wmissing-noreturn",
+ "-Wold-style-definition",
+ "-Wnested-externs",
+ "-Wredundant-decls",
+ "-Wwrite-strings",
+ "-Wstrict-prototypes",
+ "-Winline",
+ "-Wmissing-field-initializers",
+ "-Wundeclared-selector",
+ "-Wno-unused-parameter",
+ );
};
name = Distribution;
};

0 comments on commit 1ba7ba5

Please sign in to comment.