From: Dennis Schafroth Date: Wed, 23 May 2012 08:47:10 +0000 (+0000) Subject: New -D for -Werror but without the strict-prototype check (in order to get it to... X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=10f3c58531734660dc14393e7ec9e37ca86184c8;hp=202833a99a4a40940d86a546125dea47a172578e;p=yaz-moved-to-github.git New -D for -Werror but without the strict-prototype check (in order to get it to work) --- diff --git a/buildconf.sh b/buildconf.sh index bc1f6e2..3817a7a 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -67,6 +67,13 @@ case $1 in enable_help=false shift ;; + -D) + sh_cflags="-g -Wall -Werror -Wdeclaration-after-statement" + sh_cxxflags="-g -Wall -Werror" + enable_configure=true + enable_help=false + shift + ;; -c) sh_cflags="" sh_cxxflags=""