From: Andreas Tobler Date: Mon, 3 May 2004 19:07:49 +0000 (+0200) Subject: acinclude.m4: Replace -W with more speaking -Wextra. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc7c62aea4084270bcc366aba86bb735d9a7f6f1;p=gcc.git acinclude.m4: Replace -W with more speaking -Wextra. 2004-05-03 Andreas Tobler * acinclude.m4: Replace -W with more speaking -Wextra. * configure: Rebuilt. From-SVN: r81444 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ba311c5242a..6af02816e6a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-05-03 Andreas Tobler + + * acinclude.m4: Replace -W with more speaking -Wextra. + * configure: Rebuilt. + 2004-05-03 Paolo Carlini Optimize locale::_M_impl->_M_names for the most common cases: diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index ab4538c5e1c..7529af32586 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -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) ]) diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 7db2d2edd53..6a6ad93e7d7 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -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'