libstdc++.exp (v3-build_support): Pass -w when compiling support objects.
authorMark Mitchell <mark@codesourcery.com>
Fri, 25 Mar 2005 17:08:08 +0000 (17:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 25 Mar 2005 17:08:08 +0000 (17:08 +0000)
* testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
compiling support objects.

From-SVN: r97047

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 6bb315b976d453517d67a931785043642077147e..ee66ccb0cf1ded3312497f0bae91122e5d38af27 100644 (file)
@@ -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...
index 0b870a531bca95f92a5a7531602425fa1786c648..9c9ace296378955ea9a284603e04f11981cd5b86 100644 (file)
@@ -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"
        }