
6 Dec
2004
6 Dec
'04
6:38 p.m.
The following patch is required to build date_time using the Sun Workshop C++ compiler. I mentioned this previously in another thread, but I fear it has been lost. --- boost/date_time/date_names_put.hpp~ 2004-12-01 08:58:32.846228000 -0500 +++ boost/date_time/date_names_put.hpp 2004-12-01 08:59:38.334228000 -0500 @@ -52,6 +52,11 @@ typedef std::basic_string<charT> string_type; static std::locale::id id; + +#if defined (__SUNPRO_CC) && defined (_RWSTD_VER) + std::locale::id& __get_id (void) const { return id; } +#endif + void put_special_value(iter_type& oitr, special_value_enum sv) const { do_put_special_value(oitr, sv); -- Caleb Epstein caleb dot epstein at gmail dot com