[sheepdog] [PATCH] configure: remove -Wdeclaration-after-statement from the parameter for GCC

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon May 13 22:28:24 CEST 2013


Current sheepdog employes gnu99 style. But
-Wdeclaration-after-statement is still passed to GCC so interleaving
declarations and statements is not allowed. This patch remove it.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 configure.ac |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index fac698b..6d6410d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -296,7 +296,6 @@ WARNLIST="
 	missing-prototypes
 	missing-declarations
 	strict-prototypes
-	declaration-after-statement
 	pointer-arith
 	write-strings
 	cast-align
-- 
1.7.5.1




More information about the sheepdog mailing list