bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Win32: METs don't display correctly - bug


From: Nardy Pillards
Subject: Re: [Bug-gnubg] Win32: METs don't display correctly - bug
Date: Fri, 6 Dec 2002 22:27:29 +0100

> On Fri, Dec 06, 2002 at 08:50:58PM +0100, Nardy Pillards wrote
> > Still a bug though.
> >
> > That is:
> > I changed all '.' (decimal point) to ',' in all .xml files.
> > The Equity tables show correctly now.
> >
> > My system used the 'real' decimal point as decimal point.
> > But I had to change it to the *european* decimal point (i.e. ' , ' )
> >
> > There is no problem with the predesigned boards (also using decimal
points.
> > the 'original' in those files don't cause problems)
> >
> > _Remark_:
> > If this is too hard to debug (low priority), I will post the *European*
.xml
> > files on my website.
>
> I guess you mean mainland European. As far as I know the Britts still
> use dot as decimal separator :-)

Yes they do.
Flanders (Dutch speaking part of Belgium) uses  a BE/FR keyboard and BE/NL
language set.

> Anyway, I can't reproduce this bug under linux; I can read match equity
> tables with Danish, French, German, and British locale settings.
>
> I assume your matchequity.c is 1.33. I really can't see what should have
> changed since November 20 that would change things! Did you download a
> new version of any of your libraries?
>
> Anyway, you can try inserting the following
> piece of code in parseRow in matchequity.c line 1058:
>
>     if ( ! strcmp ( cur->name, "me" ) ) {
>        printf ( "locale in parseRow: '%s'\n",
>                 setlocale ( LC_NUMERIC, NULL );
>
> The locale should show up as 'C'.
>
> Jørn

It shows:

matchequity.c: In function `parseRow':
matchequity.c:1061: warning: implicit declaration of function `setlocale'
matchequity.c:1061: `LC_NUMERIC' undeclared (first use in this function)
matchequity.c:1061: (Each undeclared identifier is reported only once
matchequity.c:1061: for each function it appears in.)
matchequity.c:1061: parse error before `;'

I will check configure.h here

Nardy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]