This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:Patch: PR preprocessor/19753


Hi Tom,

PR preprocessor/19753:
* c-opts.c (finish_options): Don't localize "<built-in>" or "<command-line>".

I'm not sure about the idea of this patch. These really are used in user messages, for example


$ gcc-4.0 -DFOO=1 -DFOO=2 ~/hello.c -S
<command line>:1:1: warning: "FOO" redefined
<command line>:1:1: warning: this is the location of the previous definition


and so I think it would be nice if they are localised. I think we should keep the English representation internally and in .i files, but detect these specific strings when actually outputting a message and localise them then.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]