acinclude.m4: Replace -W with more speaking -Wextra.
authorAndreas Tobler <a.tobler@schweiz.ch>
Mon, 3 May 2004 19:07:49 +0000 (21:07 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Mon, 3 May 2004 19:07:49 +0000 (21:07 +0200)
2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Replace -W with more speaking -Wextra.
* configure: Rebuilt.

From-SVN: r81444

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index ba311c5242a3d5c803dc6393b688ca0e129e8b77..6af02816e6a34703aba5a1a45cdb960f69c944e8 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * acinclude.m4: Replace -W with more speaking -Wextra.
+       * configure: Rebuilt.
+
 2004-05-03  Paolo Carlini  <pcarlini@suse.de>
 
        Optimize locale::_M_impl->_M_names for the most common cases:
index ab4538c5e1ca653adb329afef484bbf513e1a6bf..7529af3258680f17e0f2bccb3dab7913fe88b102 100644 (file)
@@ -711,7 +711,7 @@ AC_DEFUN([GLIBCXX_EXPORT_FLAGS], [
   OPTIMIZE_CXXFLAGS=
   AC_SUBST(OPTIMIZE_CXXFLAGS)
 
-  WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
+  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
   AC_SUBST(WARN_FLAGS)
 ])
 
index 7db2d2edd534215dbb4853ec61d678a3aa9aaf04..6a6ad93e7d7067f6dbd0ce802fd1b3a648cfb4ea 100755 (executable)
@@ -3965,7 +3965,7 @@ darwin* | rhapsody*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
-freebsd* )
+freebsd* | kfreebsd*-gnu)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     case $host_cpu in
     i*86 )
@@ -4033,7 +4033,7 @@ linux-gnu*)
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
   ;;
 
-netbsd*)
+netbsd* | knetbsd*-gnu)
   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
   else
@@ -73212,7 +73212,7 @@ echo "${ECHO_T}$gxx_include_dir" >&6
   OPTIMIZE_CXXFLAGS=
 
 
-  WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
+  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'