Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2002-10-19 20:01:54


> This is with 1.29 so no worry.

Ok, well it is still a worry -- just the other way around...

> > msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "public: __thiscall
> > std::locale::id::id(unsigned int)" (??0id_at_locale@std@@QAE_at_I@Z) already
> > defined in DailyFinanceManager.obj

If it is a result of the library it would need to have something to do with the date_names_put template. In
boost/date_time/date_names_put.hpp:40 is the declaration of a static std::local::id for the iostreams stuff. However this is in
namespace boost::date_time -- this symbol looks like it is in the global namespace. Also, the only instance of the id gets built
into the library (see libs/date_time/src/gregorian/greg_month.cpp) so I'm puzzled...

Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk