[lvm-devel] master - tests: few more warnings for gcc only

Zdenek Kabelac zkabelac at fedoraproject.org
Wed Mar 11 23:16:38 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c6d96efc38b2d1af9e81d96f27f17eea90fe7623
Commit:        c6d96efc38b2d1af9e81d96f27f17eea90fe7623
Parent:        eded54df7ba781afa9da14dd1a79b132aba255eb
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Thu Mar 12 00:12:15 2015 +0100
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
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(-)

diff --git a/make.tmpl.in b/make.tmpl.in
index 3a8597a..322e33b 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -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




More information about the lvm-devel mailing list