summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-25 17:08:08 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-25 17:08:08 +0000
commit4b4caab0e5f1681d96aed8c3998dffd841337c65 (patch)
tree8fd8cf34dfb3e6e6f7b3bf437b75fe0b5f101a83
parent7ab7fd4fbe7629da05c207c247588cda5c590314 (diff)
downloadgcc-4b4caab0e5f1681d96aed8c3998dffd841337c65.tar.gz
* testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
compiling support objects. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97047 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6bb315b976d..ee66ccb0cf1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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...
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 0b870a531bc..9c9ace29637 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"
}