Author: jan
Date: 2007-08-01 23:41:52 +0200 (Wed, 01 Aug 2007)
New Revision: 353
Modified:
trunk/openvas-libnasl/ChangeLog
trunk/openvas-libnasl/configure
trunk/openvas-libnasl/configure.in
trunk/openvas-libnasl/nasl.tmpl.in
Log:
Removed strange handling of CWARN which tries to collect
a number of warning wishes for compilation. It didn't
really work anyway.
Replaced this by: allways give all warnings (-Wall).
* configure.in, nasl.tmpl.in: Removed handling
of CWARN[01234] and CWALL, applied -Wall for any case.
* configure: updated.
Modified: trunk/openvas-libnasl/ChangeLog
===================================================================
--- trunk/openvas-libnasl/ChangeLog 2007-08-01 21:19:36 UTC (rev 352)
+++ trunk/openvas-libnasl/ChangeLog 2007-08-01 21:41:52 UTC (rev 353)
@@ -1,3 +1,15 @@
+2007-08-01 Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
+ Removed strange handling of CWARN which tries to collect
+ a number of warning wishes for compilation. It didn't
+ really work anyway.
+ Replaced this by: allways give all warnings (-Wall).
+
+ * configure.in, nasl.tmpl.in: Removed handling
+ of CWARN[01234] and CWALL, applied -Wall for any case.
+
+ * configure: updated.
+
2007-07-27 Jan-Oliver Wagner <[EMAIL PROTECTED]>
Doing the 0.9.0 release.
Modified: trunk/openvas-libnasl/configure
===================================================================
--- trunk/openvas-libnasl/configure 2007-08-01 21:19:36 UTC (rev 352)
+++ trunk/openvas-libnasl/configure 2007-08-01 21:41:52 UTC (rev 353)
@@ -843,8 +843,6 @@
ALLOCA
PWD
PWDD
-CWALL
-CWARN
INSTALL
version
NESSUS_MAJOR
@@ -4720,7 +4718,7 @@
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4723 "configure"' > conftest.$ac_ext
+ echo '#line 4721 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5272,7 +5270,7 @@
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:5275: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:5273: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
@@ -7133,7 +7131,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7136 "configure"
+#line 7134 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -7231,7 +7229,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7234 "configure"
+#line 7232 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -14719,8 +14717,6 @@
-
-
ac_config_files="$ac_config_files nasl.tmpl openvas-libnasl-config"
cat >confcache <<\_ACEOF
@@ -15410,8 +15406,6 @@
ALLOCA!$ALLOCA$ac_delim
PWD!$PWD$ac_delim
PWDD!$PWDD$ac_delim
-CWALL!$CWALL$ac_delim
-CWARN!$CWARN$ac_delim
INSTALL!$INSTALL$ac_delim
version!$version$ac_delim
NESSUS_MAJOR!$NESSUS_MAJOR$ac_delim
@@ -15428,7 +15422,7 @@
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
Modified: trunk/openvas-libnasl/configure.in
===================================================================
--- trunk/openvas-libnasl/configure.in 2007-08-01 21:19:36 UTC (rev 352)
+++ trunk/openvas-libnasl/configure.in 2007-08-01 21:41:52 UTC (rev 353)
@@ -452,8 +452,6 @@
AC_SUBST(PWD)
AC_SUBST(PWDD)
AC_SUBST(CFLAGS)
-AC_SUBST(CWALL)
-AC_SUBST(CWARN)
AC_SUBST(LIBOPENVASCONFIG)
AC_SUBST(INSTALL)
AC_SUBST(version)
Modified: trunk/openvas-libnasl/nasl.tmpl.in
===================================================================
--- trunk/openvas-libnasl/nasl.tmpl.in 2007-08-01 21:19:36 UTC (rev 352)
+++ trunk/openvas-libnasl/nasl.tmpl.in 2007-08-01 21:41:52 UTC (rev 353)
@@ -21,13 +21,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-CWARN0 = @CWALL@
-CWARN1 = $(CWARN0) -Wwrite-strings -Wshadow
-CWARN2 = $(CWARN1) -Wcast-align -Wcast-qual -Waggregate-return
-CWARN3 = $(CWARN2) -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations
-CWARN4 = $(CWARN3) -Wconversion -Winline -Wtraditional
-CWARN = $(CWARN0)
-
# pkt_forge.tmpl
#
# This file contains all the defines you may want to modify
@@ -61,7 +54,7 @@
# C compiler options
[EMAIL PROTECTED]@ $(CWARN)
[EMAIL PROTECTED]@ -Wall
# Do you have /usr/ucbinclude ? (SunOS)
[EMAIL PROTECTED]@
_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits