mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
warnings
This commit is contained in:
parent
dc8178d43e
commit
a7c00ecef0
1 changed files with 6 additions and 4 deletions
|
@ -60,20 +60,22 @@ EXTRACFLAGS += -Wold-style-definition -Wno-error=old-style-definition
|
||||||
|
|
||||||
# unknown to clang or old gcc:
|
# unknown to clang or old gcc:
|
||||||
# First we activate Wextra then we explicitly list those we know about
|
# First we activate Wextra then we explicitly list those we know about
|
||||||
|
# Those without -Wno-error are supposed to be completely solved
|
||||||
GCCEXTRACFLAGS = -Wextra
|
GCCEXTRACFLAGS = -Wextra
|
||||||
GCCEXTRACFLAGS += -Wclobbered -Wno-error=clobbered
|
GCCEXTRACFLAGS += -Wclobbered -Wno-error=clobbered
|
||||||
GCCEXTRACFLAGS += -Wcast-function-type -Wno-error=cast-function-type
|
GCCEXTRACFLAGS += -Wcast-function-type
|
||||||
GCCEXTRACFLAGS += -Wimplicit-fallthrough=3 -Wno-error=implicit-fallthrough
|
GCCEXTRACFLAGS += -Wimplicit-fallthrough=3 -Wno-error=implicit-fallthrough
|
||||||
GCCEXTRACFLAGS += -Wmissing-parameter-type -Wno-error=missing-parameter-type
|
GCCEXTRACFLAGS += -Wmissing-parameter-type
|
||||||
GCCEXTRACFLAGS += -Wold-style-declaration -Wno-error=old-style-declaration
|
GCCEXTRACFLAGS += -Wold-style-declaration -Wno-error=old-style-declaration
|
||||||
GCCEXTRACFLAGS += -Woverride-init -Wno-error=override-init
|
GCCEXTRACFLAGS += -Woverride-init
|
||||||
GCCEXTRACFLAGS += -Wshift-negative-value -Wno-error=shift-negative-value
|
GCCEXTRACFLAGS += -Wshift-negative-value
|
||||||
GCCEXTRACFLAGS += -Wunused-but-set-parameter -Wno-error=unused-but-set-parameter
|
GCCEXTRACFLAGS += -Wunused-but-set-parameter -Wno-error=unused-but-set-parameter
|
||||||
ifeq ($(GCCEXTRA),1)
|
ifeq ($(GCCEXTRA),1)
|
||||||
DEFCFLAGS += $(GCCEXTRACFLAGS) $(EXTRACFLAGS)
|
DEFCFLAGS += $(GCCEXTRACFLAGS) $(EXTRACFLAGS)
|
||||||
endif
|
endif
|
||||||
# unknown to gcc or old clang:
|
# unknown to gcc or old clang:
|
||||||
# First we activate Wextra then we explicitly list those we know about
|
# First we activate Wextra then we explicitly list those we know about
|
||||||
|
# Those without -Wno-error are supposed to be completely solved
|
||||||
CLANGEXTRACFLAGS = -Wextra
|
CLANGEXTRACFLAGS = -Wextra
|
||||||
CLANGEXTRACFLAGS += -Wtautological-type-limit-compare
|
CLANGEXTRACFLAGS += -Wtautological-type-limit-compare
|
||||||
CLANGEXTRACFLAGS += -Wnull-pointer-arithmetic
|
CLANGEXTRACFLAGS += -Wnull-pointer-arithmetic
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue