On Wed, 13 Jul 2011 15:55:58 +0100 Jonathan Wakely <jwakely....@gmail.com> wrote:
> On 13 July 2011 15:18, Paulo J. Matos wrote: > > Hi all, > > > > As part of a testsuite script I am parsing GCC's output and I noticed that > > format specifier %qs quotes the string by surrounding it with unicode > > characters. I can't find where this %qs is defined so that I can try and > > override it to quote with '%s' or `%s'. Anything but unicode. > > > > Any suggestions? > > set LANG=C in your environment when running gcc Also, the %q format is probably handled inside gcc/diagnostic.c & gcc/pretty-print.c cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***