This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Multiline error and warning messages in the libstdc++ testsuite
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: 04 Jan 2002 11:14:32 +0100
- Subject: Re: Multiline error and warning messages in the libstdc++ testsuite
- Organization: CodeSourcery, LLC
- References: <8D00C32549556B4E977F81DBC24E985D410137@crtsmail1.technol_exch.corp.riotinto.org>
"Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> writes:
| Multiline error and warning messages from g++ confuse the libstdc++-v3
| testsuite. This is worked around with "excess error" tests. See, for
| example, 23_containers/set_operators.cc and the discussion in
| libstdc++/5145 and libstdc++/5146.
|
| The error processing is done in procedure dg-test, which is part of
| dejagnu. Rather than change this it seemed simpler to unwrap the
| multi-line messages, converting them back to single lines of text.
Please, don't do that. The correct way is to set -fmessage-length=0 on
the command line.
-- Gaby