diff options
author | Andreas Tobler <a.tobler@schweiz.ch> | 2004-05-03 21:07:49 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2004-05-03 21:07:49 +0200 |
commit | dc7c62aea4084270bcc366aba86bb735d9a7f6f1 (patch) | |
tree | 94895e31f71a8950b9d781b99461a223b3430a38 | |
parent | 8a897bf9f80ff8ea989b428c66745c255415f353 (diff) | |
download | gcc-dc7c62aea4084270bcc366aba86bb735d9a7f6f1.zip gcc-dc7c62aea4084270bcc366aba86bb735d9a7f6f1.tar.gz gcc-dc7c62aea4084270bcc366aba86bb735d9a7f6f1.tar.bz2 |
acinclude.m4: Replace -W with more speaking -Wextra.
2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
* acinclude.m4: Replace -W with more speaking -Wextra.
* configure: Rebuilt.
From-SVN: r81444
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 2 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 6 |
3 files changed, 9 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ba311c5..6af0281 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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: diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index ab4538c..7529af3 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 7db2d2e..6a6ad93 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' |