[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Re: build with non-latin LANG



Alex Bligh wrote:


--On 31 August 2006 10:46 +0100 Luke Hart <lukeh@xxxxxxxx> wrote:

It seems that the command date used in building in building svnversion.h
is outputting the date in the current locale, whereas the C compiler is
trying to compile it using the C locale. Forcing the LANG setting would
be a good option, not least because we'd (as anglophones) be able to
understand the produced dates :-).

Should we be forcing it for the entire build process, or just for
"date" (produced by buildresources.pl). I suppose we should allow for
localized error messages.

Alex
Setting it for just date allows successful compilation and will allow a user to see build chain errors in their own language (and hopefully fix them themselves). So I suggest that it should just be date and the call to svn to get version information (it doesn't seem to take notice of the locale, but to be safe it's best to make sure) that have the locale set to C.

   Luke