Author: jan
Date: 2007-08-01 23:19:36 +0200 (Wed, 01 Aug 2007)
New Revision: 352
Modified:
trunk/openvas-libraries/ChangeLog
trunk/openvas-libraries/configure
trunk/openvas-libraries/configure.in
trunk/openvas-libraries/libhosts_gatherer/Makefile
trunk/openvas-libraries/libopenvas/Makefile
trunk/openvas-libraries/openvas-libraries.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, openvas-libraries.tmpl.in: Removed handling
of CWARN[01234] and CWALL.
* configure: updated.
* libopenvas/Makefile, libhosts_gatherer/Makefile: Added
-Wall as compile flag.
Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog 2007-07-31 15:23:34 UTC (rev 351)
+++ trunk/openvas-libraries/ChangeLog 2007-08-01 21:19:36 UTC (rev 352)
@@ -1,3 +1,18 @@
+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, openvas-libraries.tmpl.in: Removed handling
+ of CWARN[01234] and CWALL.
+
+ * configure: updated.
+
+ * libopenvas/Makefile, libhosts_gatherer/Makefile: Added
+ -Wall as compile flag.
+
2007-07-26 Jan-Oliver Wagner <[EMAIL PROTECTED]>
* CHANGES: Set release date to 27.7.2007
Modified: trunk/openvas-libraries/configure
===================================================================
--- trunk/openvas-libraries/configure 2007-07-31 15:23:34 UTC (rev 351)
+++ trunk/openvas-libraries/configure 2007-08-01 21:19:36 UTC (rev 352)
@@ -842,8 +842,6 @@
CC_NOPIPE
PWD
PWDD
-CWALL
-CWARN
INSTALL_DIR
INSTALL
EXTRA
@@ -4726,7 +4724,7 @@
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4729 "configure"' > conftest.$ac_ext
+ echo '#line 4727 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -5278,7 +5276,7 @@
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:5281: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:5279: \"$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
@@ -7139,7 +7137,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7142 "configure"
+#line 7140 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -7237,7 +7235,7 @@
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 7240 "configure"
+#line 7238 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -8131,7 +8129,6 @@
INSTALL="$PWDD/install-sh"
}
INSTALL_DIR="$INSTALL -d"
-test -z "$GCC" || CWARN="-Wall"
{ echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
@@ -14226,8 +14223,6 @@
-
-
ac_config_files="$ac_config_files openvas-libraries.tmpl libopenvas-config.pre
include/libvers.h"
cat >confcache <<\_ACEOF
@@ -14916,8 +14911,6 @@
CC_NOPIPE!$CC_NOPIPE$ac_delim
PWD!$PWD$ac_delim
PWDD!$PWDD$ac_delim
-CWALL!$CWALL$ac_delim
-CWARN!$CWARN$ac_delim
INSTALL_DIR!$INSTALL_DIR$ac_delim
INSTALL!$INSTALL$ac_delim
EXTRA!$EXTRA$ac_delim
@@ -14939,7 +14932,7 @@
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
Modified: trunk/openvas-libraries/configure.in
===================================================================
--- trunk/openvas-libraries/configure.in 2007-07-31 15:23:34 UTC (rev
351)
+++ trunk/openvas-libraries/configure.in 2007-08-01 21:19:36 UTC (rev
352)
@@ -88,7 +88,6 @@
INSTALL="$PWDD/install-sh"
}
INSTALL_DIR="$INSTALL -d"
-test -z "$GCC" || CWARN="-Wall"
dnl Check for extra libraries
@@ -528,8 +527,6 @@
AC_SUBST(PWD)
AC_SUBST(PWDD)
AC_SUBST(CFLAGS)
-AC_SUBST(CWALL)
-AC_SUBST(CWARN)
AC_SUBST(INSTALL_DIR)
AC_SUBST(INSTALL)
AC_SUBST(EXTRA)
Modified: trunk/openvas-libraries/libhosts_gatherer/Makefile
===================================================================
--- trunk/openvas-libraries/libhosts_gatherer/Makefile 2007-07-31 15:23:34 UTC
(rev 351)
+++ trunk/openvas-libraries/libhosts_gatherer/Makefile 2007-08-01 21:19:36 UTC
(rev 352)
@@ -22,7 +22,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
include ../openvas-libraries.tmpl
-COMPILE = $(CC) $(DEFS) $(include) $(CFLAGS)
+COMPILE = $(CC) $(DEFS) $(include) $(CFLAGS) -Wall
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(include) $(CFLAGS)
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(WS2_32)
Modified: trunk/openvas-libraries/libopenvas/Makefile
===================================================================
--- trunk/openvas-libraries/libopenvas/Makefile 2007-07-31 15:23:34 UTC (rev
351)
+++ trunk/openvas-libraries/libopenvas/Makefile 2007-08-01 21:19:36 UTC (rev
352)
@@ -38,7 +38,7 @@
# += does not work with non-GNU make ...
# CFLAGS+=-I../$(CIPHER_SUBDIR)
-CFLAGS+=-g
+CFLAGS+=-g -Wall
INCLUDE = ${include}
CIPHER = -I../$(CIPHER_SUBDIR)
Modified: trunk/openvas-libraries/openvas-libraries.tmpl.in
===================================================================
--- trunk/openvas-libraries/openvas-libraries.tmpl.in 2007-07-31 15:23:34 UTC
(rev 351)
+++ trunk/openvas-libraries/openvas-libraries.tmpl.in 2007-08-01 21:19:36 UTC
(rev 352)
@@ -21,14 +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)
-
-
SHELL = /bin/sh
CONFIGURE_ARGS = @ac_configure_args@
_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits