Disable -fno-strict-overflow and enable some -Werror=
This commit is contained in:
parent
c67a956351
commit
3dc9542ec2
2 changed files with 16 additions and 2 deletions
|
|
@ -198,5 +198,19 @@ if TUNEMU
|
|||
LIBS += -lpcap
|
||||
endif
|
||||
|
||||
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote.
|
||||
AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. \
|
||||
-Weverything -Wno-reserved-id-macro -Wno-padded -Wno-disabled-macro-expansion -Wno-shorten-64-to-32 -Wno-format-nonliteral \
|
||||
-Werror=conditional-uninitialized \
|
||||
-Werror=uninitialized \
|
||||
-Werror=missing-field-initializers \
|
||||
-Werror=unused-parameter \
|
||||
-Werror=missing-variable-declarations \
|
||||
-Wno-conversion \
|
||||
-Wno-date-time \
|
||||
-Wno-shadow \
|
||||
-Wno-vla \
|
||||
-Wno-unused-macros \
|
||||
-Wno-cast-qual \
|
||||
-ferror-limit=10
|
||||
# -Werror \
|
||||
#-fsanitize=address
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue