]> sourceware.org Git - lvm2.git/commitdiff
build: Use additional gcc warning flags.
authorAlasdair G Kergon <agk@redhat.com>
Thu, 24 Oct 2013 16:10:24 +0000 (17:10 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 24 Oct 2013 16:10:24 +0000 (17:10 +0100)
WHATS_NEW
make.tmpl.in

index 71068672a57beaf196a28d599eb849143221787f..cb3488bc3fe50d643166aa02c38c3c708cb42aaf 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
index 3218758680d73bf704c1428692757093d389bffc..788eb1dcc60d86f871085a0740342ee5ee66299b 100644 (file)
@@ -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
-
-#WFLAGS += -W -Wconversion -Wbad-function-cast -Wcast-qual
+ -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 -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
 
This page took 0.050784 seconds and 5 git commands to generate.