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" }