mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08:00
Add -Wconversion in EXTRACFLAGS
This commit is contained in:
parent
35886fab91
commit
15ccb34535
3 changed files with 3 additions and 1 deletions
|
@ -63,6 +63,7 @@ endif
|
|||
EXTRACFLAGS =
|
||||
EXTRACFLAGS += -Wunused-parameter -Wno-error=unused-parameter
|
||||
EXTRACFLAGS += -Wsign-compare -Wno-error=sign-compare
|
||||
EXTRACFLAGS += -Wconversion -Wno-error=conversion -Wno-error=sign-conversion -Wno-error=float-conversion
|
||||
|
||||
# unknown to clang or old gcc:
|
||||
# First we activate Wextra then we explicitly list those we know about
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
MYSRCPATHS =
|
||||
MYINCLUDES =
|
||||
# Strange errors on Mingw when compiling with C99
|
||||
MYCFLAGS = -Wno-bad-function-cast -Wno-redundant-decls -Wno-incompatible-pointer-types-discards-qualifiers -Wno-discarded-qualifiers -Wno-unknown-warning-option -Wno-maybe-uninitialized
|
||||
MYCFLAGS = -Wno-bad-function-cast -Wno-redundant-decls -Wno-incompatible-pointer-types-discards-qualifiers -Wno-discarded-qualifiers -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-conversion
|
||||
MYDEFS =
|
||||
MYSRCS = \
|
||||
cborencoder.c \
|
||||
|
|
|
@ -61,6 +61,7 @@ EXTRACFLAGS += -Wunused-parameter -Wno-error=unused-parameter
|
|||
EXTRACFLAGS += -Wswitch-enum -Wno-error=switch-enum
|
||||
EXTRACFLAGS += -Wsign-compare -Wno-error=sign-compare
|
||||
EXTRACFLAGS += -Wold-style-definition -Wno-error=old-style-definition
|
||||
EXTRACFLAGS += -Wconversion -Wno-error=conversion -Wno-error=sign-conversion -Wno-error=float-conversion
|
||||
|
||||
# unknown to clang or old gcc:
|
||||
# First we activate Wextra then we explicitly list those we know about
|
||||
|
|
Loading…
Reference in a new issue