This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Optimization Diary
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: geoffk at apple dot com (Geoffrey Keating)
- Cc: gcc at gcc dot gnu dot org, dpatel at apple dot com, dberlin at dberlin dot org (Daniel Berlin), pinskia at physics dot uc dot edu (Andrew Pinski)
- Date: Tue, 6 Jun 2006 20:25:15 -0400 (EDT)
- Subject: Re: [RFC] Optimization Diary
>
>
> --Apple-Mail-9--465959030
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> charset=US-ASCII;
> delsp=yes;
> format=flowed
>
>
> On 06/06/2006, at 5:20 PM, Andrew Pinski wrote:
>
> >> Right above, you said "We control the debug output machinery
> >> generating this, and can simply tell it to only deal in one
> >> language." Here, you seem to be implying that the messages should be
> >> localised in the language the compiler is going to output messages
> >> in. I suppose you could output both, but that still bloats object
> >> files more than just using numbers.
> >
> > Just output in English and let the IDE or the other tools translate
> > it.
>
> What's the difference between that and just outputting a number and
> letting the IDE or other tool translate it? Either way, you're going
> to need a fixed set of strings or numbers to translate.
Say I want to add a new one, I have to go through a committee with the
number system while with a string I don't.
-- Pinski