auto_ptr gcc version 3.3.1 (cygming special) problem

2004-01-07 Thread Marcelo Rezende Módolo
Hi, I am not shure that this is a error , but it is very strange... //autoPtr.cpp #include #include using namespace std; class B { public: B(int cid) : cid_(cid) { cout << "B(" << cid_ << ")\n"; } ~B() { cout << "~B(" << cid_ << ")\n"; } private: int cid_; }; class A { publi

Re: LOCALE ERROR

2003-12-07 Thread Marcelo Rezende Módolo
)thetime))'... But I still have the same output for all 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' 

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

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: /usr/include

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 to

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 all-recursive