mirror of
https://github.com/catchorg/Catch2.git
synced 2025-02-16 19:43:28 +01:00
Added more warnings
This commit is contained in:
parent
98a21bce5d
commit
7c329e1d05
@ -385,28 +385,12 @@
|
|||||||
SDKROOT = macosx10.6;
|
SDKROOT = macosx10.6;
|
||||||
USER_HEADER_SEARCH_PATHS = ../../include;
|
USER_HEADER_SEARCH_PATHS = ../../include;
|
||||||
WARNING_CFLAGS = (
|
WARNING_CFLAGS = (
|
||||||
"-Wfloat-equal",
|
"-Winit-self",
|
||||||
"-Wundef",
|
"-Wmissing-include-dirs",
|
||||||
"-Wshadow",
|
"-Wswitch-enum",
|
||||||
"-Wpointer-arith",
|
"-Wunused",
|
||||||
"-Wcast-qual",
|
"-Wredundant-decls",
|
||||||
"-Wcast-align",
|
"-Wsign-promo",
|
||||||
"-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",
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
@ -417,10 +401,19 @@
|
|||||||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||||
|
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
SDKROOT = macosx10.6;
|
SDKROOT = macosx10.6;
|
||||||
USER_HEADER_SEARCH_PATHS = ../../include;
|
USER_HEADER_SEARCH_PATHS = ../../include;
|
||||||
|
WARNING_CFLAGS = (
|
||||||
|
"-Winit-self",
|
||||||
|
"-Wmissing-include-dirs",
|
||||||
|
"-Wswitch-enum",
|
||||||
|
"-Wunused",
|
||||||
|
"-Wredundant-decls",
|
||||||
|
"-Wsign-promo",
|
||||||
|
);
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user