aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-03-25 17:08:08 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2005-03-25 17:08:08 +0000
commit510d8ecc26b0f4b9dbbf6fb603bdab02a04d6d7b (patch)
tree8fd8cf34dfb3e6e6f7b3bf437b75fe0b5f101a83 /libstdc++-v3
parent7f20a5b73d6dedc9b3e157e3a25392276a94b112 (diff)
downloadgcc-510d8ecc26b0f4b9dbbf6fb603bdab02a04d6d7b.zip
gcc-510d8ecc26b0f4b9dbbf6fb603bdab02a04d6d7b.tar.gz
gcc-510d8ecc26b0f4b9dbbf6fb603bdab02a04d6d7b.tar.bz2
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
Diffstat (limited to 'libstdc++-v3')
-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 6bb315b..ee66ccb 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 0b870a5..9c9ace2 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"
}