]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* testsuite/lib/libstdc++.exp (v3-build_support): Pass -w when
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2005 17:08:08 +0000 (17:08 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2005 17:08:08 +0000 (17:08 +0000)
compiling support objects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97047 138bc75d-0d04-0410-961f-82ee72b054a4

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"
        }