From: Adam Dickmeiss Date: Fri, 21 Apr 2006 12:54:52 +0000 (+0000) Subject: buildconf.sh adds GCC option -Wdeclaration-after-statement X-Git-Tag: YAZ.2.1.18~8 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=0b3c4bfa5acbf82ad95fb7041c3c3c29b350553a buildconf.sh adds GCC option -Wdeclaration-after-statement --- diff --git a/buildconf.sh b/buildconf.sh index bee20be..de89581 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildconf.sh,v 1.27 2006-03-30 16:30:25 adam Exp $ +# $Id: buildconf.sh,v 1.28 2006-04-21 12:54:52 adam Exp $ if automake --version|head -1 |grep '1\.[4-7]'; then echo "automake 1.4-1.7 is active. You should use automake 1.8 or later" @@ -27,7 +27,7 @@ sh_flags="" conf_flags="" case $1 in -d) - sh_flags="-g -Wall" + sh_flags="-g -Wall -Wdeclaration-after-statement" enable_configure=true enable_help=false shift