From: mmitchel Date: Fri, 25 Mar 2005 17:08:08 +0000 (+0000) Subject: * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b4caab0e5f1681d96aed8c3998dffd841337c65;p=thirdparty%2Fgcc.git * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when compiling support objects. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97047 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6bb315b976d4..ee66ccb0cf1d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2005-03-25 Mark Mitchell + + * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when + compiling support objects. + 2005-03-24 Benjamin Kosnik * include/tr1/memory: Forward to... diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 0b870a531bca..9c9ace296378 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -322,8 +322,10 @@ proc v3-build_support {} { [list testsuite_abi.cc testsuite_allocator.cc testsuite_hooks.cc] foreach f $source_files { set object_file [file rootname $f].o + # Compile with "-w" so that warnings issued by the compiler + # do not prevent compilation. if { [v3_target_compile $srcdir/$f $object_file "object" \ - "incdir=$srcdir"] + [list "incdir=$srcdir" "additional_flags=-w"]] != "" } { error "could not compile $f" }