diff options
author | Alasdair Kergon <agk@redhat.com> | 2011-02-18 23:09:55 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2011-02-18 23:09:55 +0000 |
commit | a8d13f949926321f54f291d1c90f8739970e05dd (patch) | |
tree | 721ddb3561bc81d474c1351e3fe2a15f85ba0346 /make.tmpl.in | |
parent | faf2288895deba6b5b91da71f62a45a0ef7d75fa (diff) | |
download | lvm2-a8d13f949926321f54f291d1c90f8739970e05dd.tar.gz |
Handle decimal digits with --units instead of ignoring them silently.
Fix remaining warnings and compile with -Wpointer-arith.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index 48fd61777..5380b5e7b 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -111,9 +111,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 -Wredundant-decls +CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls -Wpointer-arith -#CFLAGS += -W -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-qual +#CFLAGS += -W -Wconversion -Wbad-function-cast -Wcast-qual #CFLAGS += -pedantic -std=gnu99 #CFLAGS += -DDEBUG_CRC32 |