LOCALE ERROR

2003-12-07 Thread Marcelo Rezende Módolo
Hi, I have a program that needs the locale support, so I include 'locale.h'. I make the program but the output was wrong. With the cygwin library the setlocale function do not work, but if I link with mingw library it is ok I am sending a sample program that demonstrate the error. Linking with

Re: LOCALE ERROR

2003-12-07 Thread Marcelo Rezende Módolo
setlocale I use. setlocale(LC_ALL, C); setlocale(LC_ALL, pt_BR); setlocale(LC_ALL, ja); ... $ ./crt_locale.exe 'Mon Dec 08 2003' 'Mon Dec 08 2003' 'Mon Dec 08 2003' 'Mon Dec 08 2003' thanks, Marcelo Modolo Igor Pechtchanski wrote: On Sun, 7 Dec 2003, Marcelo Rezende Módolo wrote: Hi, I have a program

error: nested function in winnt.h

2003-11-30 Thread Marcelo Rezende Módolo
Hi, when I try to compile the GNU Smalltalk version 2.1.5 I receive the folowing error: i18n.c: In function `iconvWrapper': In file included from /usr/include/w32api/windef.h:246, from /usr/include/w32api/windows.h:48, from i18n.c:289:

Re: MYSQL + CYGWIN

2003-09-18 Thread Marcelo Rezende Módolo
Larry Hall wrote: At 10:20 PM 9/17/2003, Marcelo Rezende Módolo you wrote: Hi, I am trying to compile mysql (mysql-4.0.15) with cygwin, I run ./configure, and make but I receive this error: ... item_timefunc.o(.text+0x2ca6):item_timefunc.cc: undefined reference

MYSQL + CYGWIN

2003-09-17 Thread Marcelo Rezende Módolo
Hi, I am trying to compile mysql (mysql-4.0.15) with cygwin, I run ./configure, and make but I receive this error: ... item_timefunc.o(.text+0x2ca6):item_timefunc.cc: undefined reference to `__static_initialization_and_destruction_0(int, int)' Is this a linker error?? $ make make