From: Mark Mitchell Date: Fri, 25 Mar 2005 17:08:08 +0000 (+0000) Subject: libstdc++.exp (v3-build_support): Pass -w when compiling support objects. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=510d8ecc26b0f4b9dbbf6fb603bdab02a04d6d7b;p=gcc.git libstdc++.exp (v3-build_support): Pass -w when compiling support objects. * testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when compiling support objects. From-SVN: r97047 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6bb315b976d..ee66ccb0cf1 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 0b870a531bc..9c9ace29637 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" }