mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
build: Use additional gcc warning flags.
This commit is contained in:
parent
d5896f0afd
commit
c9c23d4148
@ -1,5 +1,6 @@
|
||||
Version 2.02.104
|
||||
Version 2.02.104 -
|
||||
===================================
|
||||
Use additional gcc warning flags by default.
|
||||
Add ignore_lvm_mirrors to config file to read/ignore labels on mirrors.
|
||||
Add internal flag for temporary LVs to properly direct udev to not interfere.
|
||||
Fix endless loop in blkdeactivate <device>... if unable to umount/deactivate.
|
||||
|
10
make.tmpl.in
10
make.tmpl.in
@ -135,9 +135,15 @@ INSTALL_SCRIPT = $(INSTALL) -p $(M_INSTALL_PROGRAM)
|
||||
WFLAGS += -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings \
|
||||
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
|
||||
-Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls \
|
||||
-Wpointer-arith
|
||||
-Wpointer-arith -Wclobbered -Wempty-body -Wignored-qualifiers \
|
||||
-Wmissing-parameter-type -Wold-style-declaration -Woverride-init \
|
||||
-Wtype-limits -Wuninitialized -Wmissing-include-dirs -Wsync-nand \
|
||||
-Wfloat-equal -Wjump-misses-init -Wlogical-op -Wstrict-prototypes \
|
||||
-Wold-style-definition -Wmissing-format-attribute
|
||||
|
||||
#WFLAGS += -W -Wconversion -Wbad-function-cast -Wcast-qual
|
||||
#WFLAGS += -W -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers
|
||||
#WFLAGS += -Wsign-compare -Wunused-parameter -Wmissing-field-initializers
|
||||
#WFLAGS += -Wconversion -Wbad-function-cast -Wcast-qual -Waggregate-return -Wpacked
|
||||
#WFLAGS += -pedantic -std=gnu99
|
||||
#DEFS += -DDEBUG_CRC32
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user