File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ macos_DEFINES=-DMONOMAC
2525OBJC_CFLAGS =-ObjC++ -std=c++14 -fno-exceptions -fno-objc-msgsend-selector-stubs -fobjc-abi-version=2 -fobjc-legacy-dispatch
2626CFLAGS =\
2727 -Wall \
28+ -Wextra \
29+ -Wno-unused-parameter \
30+ -Wno-unused-but-set-parameter \
2831 -fms-extensions \
2932 -Werror \
3033 -Wconversion \
@@ -43,7 +46,15 @@ CFLAGS=\
4346 -Wsemicolon-before-method-body \
4447 -Wsign-compare \
4548 -Wshadow \
49+ -Wempty-body \
50+ -Wbuiltin-memcpy-chk-size \
4651 -Wformat-nonliteral \
52+ -Warray-bounds \
53+ -Warray-bounds-pointer-arithmetic \
54+ -Wsuspicious-memaccess \
55+ -Wsizeof-array-div \
56+ -Wsizeof-pointer-div \
57+ -Wreturn-stack-address \
4758 -g \
4859 -I.
4960SWIFTFLAGS =-g -emit-library
You can’t perform that action at this time.
0 commit comments