This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix garbage in diagnostics
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 31 Oct 2004 10:30:24 +0000 (UTC)
- Subject: Re: fix garbage in diagnostics
- References: <m3is8rskgk.fsf@merlin.cs.tamu.edu>
On Sun, 30 Oct 2004, Gabriel Dos Reis wrote:
> The recent conversion of the C++ front-end to use the new-style
> quoting exposes a bug in c_parse_error(). That routine was wrong in
> many respects. Fixed with this patch. I do not particularly like the
> control flow in c_parser_error(), but the current patch is better than
> nothing.
That function is still wrong in many ways. I'll file separate bugs for my
points in comment#7 in bug 17852.
This patch is deliberately disabling such translation of the messages from
this function (both the string passed in and the strings in the function)
as there was, and the marking of the strings in this function for
translation?
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)