[XForms] dot vs. comma (0.88 vs. 1.0.x)

Bernd Hahnebach newsletter at hahnebach.com
Fri May 28 12:27:24 EDT 2004


Thanks. I copied the line. I got the next problem.

main.c:34: warning: return type of `main' is not `int'
main.c: In function `main':
main.c:48: warning: implicit declaration of function `setlocale'
main.c:48: error: `LC_NUMERIC' undeclared (first use in this function)
main.c:48: error: (Each undeclared identifier is reported only once
main.c:48: error: for each function it appears in.)
make[1]: *** [main.o] Fehler 1
make[1]: Leaving directory
`/home/hugo/Documents/projekte/software/xstab/zprogramm/XStab/src'
make: *** [srcs] Fehler 2

Bernd


Jens Thoms Toerring schrieb:

>To subscribers of the xforms list
>
>
>On Fri, May 28, 2004 at 04:13:16PM +0200, Bernd Hahnebach wrote:
>  
>
>>2. It's again about XStab. As I said the software compiles using xforms 
>>0.88
>>as well as using xforms 1.0.x There is only one differences which is quit
>>important. The decimal separator in the whole software is a dot using
>>0.88 and a comma using 1.0.x. The comma causes big problems. I would like to
>>use xforms 1.0.x and the dot as decimal separator.
>>    
>>
>
>Newer versions of xforms seem to set the locale to the one set in the
>environment variables (caught me also unaware when that happened,
>suddenly lots of things stopped working...). You may have to tell it
>which one to use instead after the fl_initialize() call. I usually set
>it with
>
>setlocale( LC_NUMERIC, "C" );
>
>directly after the flinitialize() call.
>
>                                  Regards, Jens
>  
>




More information about the Xforms mailing list