Commit ab10a269 by David Billinghurst Committed by David Billinghurst

testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp...

2002-01-07  David Billinghurst <David.Billinghurst@riotinto.com>

	* testsuite_flags.in:  Add -fmessage-length=0 to CXXFLAGS
	testsuite/lib/prune.exp: Delete lines ":In function ..."
	from compiler output
	testsuite/23_containers/map_operators.cc: Remove
	dg-excess-errors comment
	testsuite/23_containers/set_operators.cc: Likewise

From-SVN: r48590
parent 6cda74b0
2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS
testsuite/lib/prune.exp: Delete lines ":In function ..."
from compiler output
testsuite/23_containers/map_operators.cc: Remove
dg-excess-errors comment
testsuite/23_containers/set_operators.cc: Likewise
2002-01-06 Paolo Carlini <pcarlini@unitus.it> 2002-01-06 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_function.h: Remove two lines of comments; * include/bits/stl_function.h: Remove two lines of comments;
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <iostream> #include <iostream>
// { dg-do compile } // { dg-do compile }
// { dg-excess-errors "" }
// libstdc++/86: map & set iterator comparisons are not type-safe // libstdc++/86: map & set iterator comparisons are not type-safe
void test01() void test01()
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <string> #include <string>
// { dg-do compile } // { dg-do compile }
// { dg-excess-errors "" }
// libstdc++/86: map & set iterator comparisons are not type-safe // libstdc++/86: map & set iterator comparisons are not type-safe
int main(void) int main(void)
......
...@@ -21,5 +21,9 @@ proc prune_g++_output { text } { ...@@ -21,5 +21,9 @@ proc prune_g++_output { text } {
# Cygwin warns about -ffunction-sections # Cygwin warns about -ffunction-sections
regsub -all "(^|\n)\[^\n\]*: -ffunction-sections may affect debugging on some targets\[^\n\]*" $text "" text regsub -all "(^|\n)\[^\n\]*: -ffunction-sections may affect debugging on some targets\[^\n\]*" $text "" text
# Remove parts of warnings that refer to location of previous
# definitions, etc as these confuse dejagnu
regsub -all "(^|\n)\[^\n\]*: In function \[^\n\]*" $text "" text
return $text return $text
} }
...@@ -48,7 +48,8 @@ case ${query} in ...@@ -48,7 +48,8 @@ case ${query} in
echo ${CXX} echo ${CXX}
;; ;;
--cxxflags) --cxxflags)
CXXFLAGS=' -g @SECTION_FLAGS@ @SECTION_LDFLAGS@ CXXFLAGS=' -g @SECTION_FLAGS@ @SECTION_LDFLAGS@
-fmessage-length=0
-DDEBUG_ASSERT -DLOCALEDIR="@glibcpp_localedir@" ' -DDEBUG_ASSERT -DLOCALEDIR="@glibcpp_localedir@" '
echo ${CXXFLAGS} echo ${CXXFLAGS}
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment