mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix redundant declarations and always compile with -Wredundant-decls.
This commit is contained in:
parent
80e569104b
commit
3e404aea3a
@ -1,5 +1,6 @@
|
||||
Version 2.02.71 -
|
||||
===============================
|
||||
Fix redundant declarations and always compile with -Wredundant-decls.
|
||||
Fix possible hang when all mirror images of a mirrored log fail.
|
||||
Do not log backtrace in valid _lv_resume() code path.
|
||||
Cleanup help strings in configure.in.
|
||||
|
@ -107,9 +107,9 @@ INSTALL_SCRIPT = $(INSTALL) -p $(M_INSTALL_PROGRAM)
|
||||
|
||||
.SUFFIXES: .c .d .o .so .a .po .pot .mo .dylib
|
||||
|
||||
CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security
|
||||
CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls
|
||||
|
||||
#CFLAGS += -W -Wconversion -Wpointer-arith -Wredundant-decls -Wbad-function-cast -Wcast-qual
|
||||
#CFLAGS += -W -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-qual
|
||||
#CFLAGS += -pedantic -std=gnu99
|
||||
|
||||
CFLAGS += @COPTIMISE_FLAG@
|
||||
|
Loading…
Reference in New Issue
Block a user