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
This commit is contained in:
Mark Mitchell 2005-03-25 17:08:08 +00:00 committed by Mark Mitchell
parent 7f20a5b73d
commit 510d8ecc26
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-03-25 Mark Mitchell <mark@codesourcery.com>
* testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
compiling support objects.
2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/memory: Forward to...

View File

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