Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Added more warnings

Commit
7c329e1d05f7d8361c6c1ead84cf3389ccbfc670
Author
Phil Nash ·
Parents
98a21bce5da3

Files · Download .tar.gz

Changes

 .../XCode/CatchSelfTest.xcodeproj/project.pbxproj  | 37 +++++++++-------------
 1 file changed, 15 insertions(+), 22 deletions(-)

diff --git a/projects/XCode/CatchSelfTest.xcodeproj/project.pbxproj b/projects/XCode/CatchSelfTest.xcodeproj/project.pbxproj
index 5a9d6352..9dfbb9f5 100644
--- a/projects/XCode/CatchSelfTest.xcodeproj/project.pbxproj
+++ b/projects/XCode/CatchSelfTest.xcodeproj/project.pbxproj
@@ -385,28 +385,12 @@
 				SDKROOT = macosx10.6;
 				USER_HEADER_SEARCH_PATHS = ../../include;
 				WARNING_CFLAGS = (
-					"-Wfloat-equal",
-					"-Wundef",
-					"-Wshadow",
-					"-Wpointer-arith",
-					"-Wcast-qual",
-					"-Wcast-align",
-					"-Wwrite-strings",
-					"-Wconversion",
-					"-Wsign-compare",
-					"-Wmissing-noreturn",
-					"-Wmissing-format-attribute",
-					"-Wpacked",
-					"-Winline",
-					"-Wdisabled-optimization",
-					"-Wctor-dtor-privacy",
-					"-Wnon-virtual-dtor",
-					"-Wreorder",
-					"-Wold-style-cast",
-					"-Woverloaded-virtual",
-					"-ffor-scope",
-					"-Wextra",
-					"-Wall",
+					"-Winit-self",
+					"-Wmissing-include-dirs",
+					"-Wswitch-enum",
+					"-Wunused",
+					"-Wredundant-decls",
+					"-Wsign-promo",
 				);
 			};
 			name = Debug;
@@ -417,10 +401,19 @@
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
 				GCC_C_LANGUAGE_STANDARD = gnu99;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
+				GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO;
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				PREBINDING = NO;
 				SDKROOT = macosx10.6;
 				USER_HEADER_SEARCH_PATHS = ../../include;
+				WARNING_CFLAGS = (
+					"-Winit-self",
+					"-Wmissing-include-dirs",
+					"-Wswitch-enum",
+					"-Wunused",
+					"-Wredundant-decls",
+					"-Wsign-promo",
+				);
 			};
 			name = Release;
 		};