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:
parent
7f20a5b73d
commit
510d8ecc26
2 changed files with 8 additions and 1 deletions
|
@ -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...
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue