silence most warnings under macOS
For macOS Apple clang version 15.0.0 (clang-1500.3.9.4) compiler, we have silenced the warnings that can be silenced. We also updated `.gitignore` for `2014/maffiodo2` and `1995/vanschnitz`.
This commit is contained in:
1 parent
1f2920d7ba
commit
a86786130f
78 files changed
+120
-83
No files matched your search
+2
-1
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-incompatible-library-redeclaration -Wno-main \
|
||||
-Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes
|
||||
-Wno-deprecated-non-prototype -Wno-format-security -Wno-strict-prototypes \
|
||||
-Wno-implicit-int -Wno-unused-parameter
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-empty-body -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-strict-prototypes
|
||||
-Wno-strict-prototypes -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-char-subscripts -Wno-error \
|
||||
-Wno-implicit-function-declaration -Wno-format-security -Wno-return-type \
|
||||
-Wno-sign-compare -Wno-uninitialized -Wno-unsequenced
|
||||
-Wno-sign-compare -Wno-uninitialized -Wno-unsequenced -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-extra-semi -Wno-fortify-source -Wno-return-type -Wno-strict-prototypes \
|
||||
-Wno-unused-variable
|
||||
-Wno-unused-variable -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-parentheses \
|
||||
-Wno-int-conversion -Wno-implicit-int -Wno-return-type
|
||||
-Wno-int-conversion -Wno-implicit-int -Wno-return-type \
|
||||
-Wno-deprecated-non-prototype
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -84,7 +85,7 @@ CC= cc
|
||||
#
|
||||
ifeq "$(findstring $(CLANG),${CC})" "$(CLANG)"
|
||||
#
|
||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories
|
||||
CSILENCE+= -Wno-pedantic -Wno-poison-system-directories -Wno-missing-prototypes
|
||||
#
|
||||
CWARN+= -Weverything
|
||||
#
|
||||
|
||||
@@ -39,7 +39,8 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-int-conversion \
|
||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype
|
||||
-Wno-logical-op-parentheses -Wno-deprecated-non-prototype \
|
||||
-Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -38,7 +38,7 @@ include ../../var.mk
|
||||
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-empty-body -Wno-strict-prototypes
|
||||
CSILENCE= -Wno-empty-body -Wno-strict-prototypes -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
|
||||
@@ -6,4 +6,5 @@ indent.c
|
||||
indent.o
|
||||
prog.orig
|
||||
vanschnitz
|
||||
vanschnitz.alt
|
||||
vanschnitz.orig
|
||||
Reference in new issue
Block a user