Commit 510d8ecc by Mark Mitchell Committed by Mark Mitchell

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
parent 7f20a5b7
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> 2005-03-24 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/memory: Forward to... * include/tr1/memory: Forward to...
......
...@@ -322,8 +322,10 @@ proc v3-build_support {} { ...@@ -322,8 +322,10 @@ proc v3-build_support {} {
[list testsuite_abi.cc testsuite_allocator.cc testsuite_hooks.cc] [list testsuite_abi.cc testsuite_allocator.cc testsuite_hooks.cc]
foreach f $source_files { foreach f $source_files {
set object_file [file rootname $f].o 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" \ if { [v3_target_compile $srcdir/$f $object_file "object" \
"incdir=$srcdir"] [list "incdir=$srcdir" "additional_flags=-w"]]
!= "" } { != "" } {
error "could not compile $f" error "could not compile $f"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment