Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Xcode ++ and add new recommended warnings.

  • Loading branch information...
commit ab964d17606b5911c2511c32e0f136f856832528 1 parent 4947306
Alan Rogers authored January 09, 2013
12  Source/OCMock.xcodeproj/project.pbxproj
@@ -601,7 +601,7 @@
601 601
 		030EF09E14632FD000B04273 /* Project object */ = {
602 602
 			isa = PBXProject;
603 603
 			attributes = {
604  
-				LastUpgradeCheck = 0440;
  604
+				LastUpgradeCheck = 0460;
605 605
 				ORGANIZATIONNAME = "Mulle Kybernetik";
606 606
 			};
607 607
 			buildConfigurationList = 030EF0A114632FD000B04273 /* Build configuration list for PBXProject "OCMock" */;
@@ -781,6 +781,10 @@
781 781
 				ALWAYS_SEARCH_USER_PATHS = NO;
782 782
 				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
783 783
 				CLANG_ENABLE_OBJC_ARC = NO;
  784
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
  785
+				CLANG_WARN_ENUM_CONVERSION = YES;
  786
+				CLANG_WARN_INT_CONVERSION = YES;
  787
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
784 788
 				COPY_PHASE_STRIP = NO;
785 789
 				GCC_C_LANGUAGE_STANDARD = gnu99;
786 790
 				GCC_DYNAMIC_NO_PIC = NO;
@@ -795,6 +799,7 @@
795 799
 				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
796 800
 				GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
797 801
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  802
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
798 803
 				GCC_WARN_UNUSED_VARIABLE = YES;
799 804
 				MACOSX_DEPLOYMENT_TARGET = 10.6;
800 805
 				SDKROOT = macosx;
@@ -807,6 +812,10 @@
807 812
 				ALWAYS_SEARCH_USER_PATHS = NO;
808 813
 				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
809 814
 				CLANG_ENABLE_OBJC_ARC = NO;
  815
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
  816
+				CLANG_WARN_ENUM_CONVERSION = YES;
  817
+				CLANG_WARN_INT_CONVERSION = YES;
  818
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
810 819
 				COPY_PHASE_STRIP = YES;
811 820
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
812 821
 				GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -815,6 +824,7 @@
815 824
 				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
816 825
 				GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
817 826
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  827
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
818 828
 				GCC_WARN_UNUSED_VARIABLE = YES;
819 829
 				MACOSX_DEPLOYMENT_TARGET = 10.6;
820 830
 				SDKROOT = macosx;
2  Source/OCMock.xcodeproj/xcshareddata/xcschemes/OCMock.xcscheme
... ...
@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <Scheme
3  
-   LastUpgradeVersion = "0450"
  3
+   LastUpgradeVersion = "0460"
4 4
    version = "1.3">
5 5
    <BuildAction
6 6
       parallelizeBuildables = "YES"

0 notes on commit ab964d1

Please sign in to comment.
Something went wrong with that request. Please try again.