mirror of git://gcc.gnu.org/git/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
This commit is contained in:
parent
7f20a5b73d
commit
510d8ecc26
|
@ -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>
|
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 {} {
|
||||||
[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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue