Skip to contentSkip to conversation

master - tests: few more warnings for gcc only

PATCH Zdenek Kabelac 1 participant 1 message Mar 11, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c6d96efc38b2d1af9e81d96f27f17eea90fe7623
Commit:        c6d96efc38b2d1af9e81d96f27f17eea90fe7623
Parent:        eded54df7ba781afa9da14dd1a79b132aba255eb
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Mar 12 00:12:15 2015 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Mar 12 00:12:15 2015 +0100

tests: few more warnings for gcc only

g++ doesn't like them.

---
 make.tmpl.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
make.tmpl.in +3 -3
index 3a8597a..322e33b 100644
@@ -148,7 +148,6 @@ WFLAGS +=\
  -Wfloat-equal\
  -Wformat-security\
  -Winline\
- -Wmissing-declarations\
  -Wmissing-format-attribute\
  -Wmissing-include-dirs\
  -Wmissing-noreturn\
@@ -156,14 +155,15 @@ WFLAGS +=\
  -Wredundant-decls\
  -Wshadow\
  -Wundef\
- -Wuninitialized\
  -Wwrite-strings
 
 WCFLAGS +=\
+ -Wmissing-declarations\
  -Wmissing-prototypes\
  -Wnested-externs\
  -Wold-style-definition\
- -Wstrict-prototypes
+ -Wstrict-prototypes\
+ -Wuninitialized
 
 ifeq ("@HAVE_WJUMP@", "yes")
 WCFLAGS += -Wjump-misses-init