This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to implement %` %' %q diagnostic formats
"Joseph S. Myers" <jsm@polyomino.org.uk> writes:
| On Mon, 24 May 2004, Gabriel Dos Reis wrote:
|
| > | 2004-05-24 Joseph S. Myers <jsm@polyomino.org.uk>
| > |
| > | * intl.h (open_quote, close_quote): New.
| > | * intl.c (open_quote, close_quote): New.
| >
| > A question: Does this mean that we build intl even when --disable-nls?
| > Or is that already required before your patch?
|
| intl.c is always built, but with most of the contents #ifdefed out with
| --disable-nls. These definitions are outside the #ifdef. Thus with
| --disable-nls the default opening and closing quotes '' are used, as
| gcc_init_libintl() is a dummy macro, while with NLS enabled the quotes
| come from the message catalog (same defaults, but with UTF-8 quotes if
| HAVE_LANGINFO_CODESET and a suitable LC_CTYPE).
Crystal clear. Excellent!
-- Gaby