New fun:
g++ -DHAVE_CONFIG_H -I. -I. -I../../../libs/vos -I../../../libs -I../../../i nplace/include -DVOSTOOLBOX_EXPORTS -D_REENTRANT -D_MT -mthreads -I/c/vos-pr ojects/current/vos/inplace/include -D_REENTRANT -O1 -D_REENTRANT -D_MT -mthr eads -g -Wall -I/c/vos-projects/current/vos/inplace/include -MT reciprocalpropfilter.lo -MD -MP -MF .deps/reciprocalpropfilter.Tpo -c reciprocalpropfilter.cc -DDLL_EXPORT -DPIC -o .libs/reciprocalpropfilter.o In file included from ../../../libs/vos/vostoolbox/reciprocalpropfilter.hh:10, from reciprocalpropfilter.cc:3: ../../../libs/vos/vutil/stringutil.hh:15: error: function `std::string VUtil::numToString(const int&)' definition is marked dllimport. ../../../libs/vos/vutil/stringutil.hh:22: error: function `std::string VUtil::numToString(const unsigned int&)' definition is marked dllimport. ../../../libs/vos/vutil/stringutil.hh:29: error: function `std::string VUtil::numToString(const long int&)' definition is marked dllimport. ../../../libs/vos/vutil/stringutil.hh:36: error: function `std::string VUtil::numToString(const long unsigned int&)' definition is marked dllimport. ../../../libs/vos/vutil/stringutil.hh:48: error: function `std::string VUtil::numToString(const double&)' definition is marked dllimport. ../../../libs/vos/vutil/stringutil.hh:57: error: function `std::string VUtil::numToString(const float&)' definition is marked dllimport. ../../../libs/vos/vutil/stringutil.hh:66: error: function `std::string VUtil::numToBigString(const double&)' definition is marked dllimport. I guess it doesn't like having the function definitions in the header if they're dllimport. -Ken ps: sorry no IRC. I was multitasking between the computer and other things this afternoon... ----- Original Message ----- From: "Reed Hedges" <[EMAIL PROTECTED]> To: "VOS Discussion" <vos-d@interreality.org> Sent: Saturday, February 24, 2007 4:23 PM Subject: Re: [vos-d] Compiling 0.24 with mingw on windows2000 > Reed Hedges wrote: > > Ken Taylor wrote: > >> dateformatfilter.cc: In member function `void DateFormatter::reformat()': > >> dateformatfilter.cc:107: error: `localtime_r' undeclared (first use this > >> function) > >> dateformatfilter.cc:107: error: (Each undeclared identifier is reported only > >> once for each function it appears in.) > >> > >> this looks like another function that mingw doesn't define (it's not in the > >> time.h that I have) > > > > Hmm, well we can put one in the windows version of VUtil if configure > > doesn't find it on the system. It would just be a call to localtime() > > with a mutex lock during, I think. > > OK, I added this to VUtil but someone on windows needs to test it. The > configure script checks for localtime_r, and libvutil implements its own > VUtil::localtime_r() function accordingly. > > Reed > > _______________________________________________ > vos-d mailing list > vos-d@interreality.org > http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d > _______________________________________________ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d