Boost C++ Libraries: Ticket #318: boost_1_32_0: Cant build date_time https://svn.boost.org/trac10/ticket/318 <pre class="wiki">boost_1_32_0 bjam -sTOOLS="vc-7_1" --with-date_time stage ...found 447 targets... ...updating 34 targets... vc-C++ bin\boost\libs\date_time\build\boost_date_time.dll\vc- 7_1-stlport\debug\threading-multi\greg_month.obj greg_month.cpp C:\_Vlad_Job\boost_1_32_0\boost\lexical_cast.hpp (150) : error C2679: binary '&gt;&gt;' : no operator found which takes a right-hand operand of type 'boost::date_time::date_names_put&lt;Config,charT,O utputIterator&gt;::string_type' (or there is no acceptable conversion) with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator&lt;wchar_t,std::c har_traits&lt;wchar_t&gt;&gt; ] C:\_Vlad_Job\boost_1_32_0\boost\lexical_cast.hpp (189) : see reference to function template instantiation 'bool boost::detail::lexical_stream&lt;Target,Source&gt;::operator &gt;&gt;&lt;Target&gt;(InputStreamable &amp;)' being compiled with [ Target=boost::date_time::date_names_put&lt;boost::greg orian::greg_facet_config,wchar_t,std::ostreambuf_iterat or&lt;wchar_t,std::char_traits&lt;wchar_t&gt;&gt;&gt;::string_type, Source=const char *, InputStreamable=boost::date_time::date_names_put&lt;bo ost::gregorian::greg_facet_config,wchar_t,std::ostream buf_iterator&lt;wchar_t,std::char_traits&lt;wchar_t&gt;&gt;&gt;::strin g_type ] C:\_Vlad_Job\boost_1_32_0 \boost\date_time\date_names_put.hpp(126) : see reference to function template instantiation 'Target boost::lexical_cast&lt;boost::date_time::date_names_put&lt; Config,charT,OutputIterator&gt;::string_type,const char*&gt; (Source)' being compiled with [ Target=boost::date_time::date_names_put&lt;boost::greg orian::greg_facet_config,wchar_t,std::ostreambuf_iterat or&lt;wchar_t,std::char_traits&lt;wchar_t&gt;&gt;&gt;::string_type, Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator&lt;wchar_t,std::c har_traits&lt;wchar_t&gt;&gt;, Source=const char * ] C:\_Vlad_Job\boost_1_32_0 \boost\date_time\date_names_put.hpp(122) : while compiling class-template member function 'void boost::date_time::date_names_put&lt;Config,charT,Output Iterator&gt;::do_put_special_value (boost::date_time::date_names_put&lt;Config,charT,Outpu tIterator&gt;::iter_type &amp;,boost::date_time::date_names_put&lt;Config,charT,Outp utIterator&gt;::special_value_enum) const' with [ ... etc Any suggestions how to fix this ? </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/318 Trac 1.4.3 az_sw_dude Mon, 22 Nov 2004 01:52:52 GMT <link>https://svn.boost.org/trac10/ticket/318#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/318#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=579686 Are you certain that you have your environment correctly set for VC7.1 and not VC6? It appears that the Macros are set for VC6, even though you are using the VC7 toolset. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>nobody</dc:creator> <pubDate>Mon, 22 Nov 2004 19:50:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/318#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/318#comment:2</guid> <description> <pre class="wiki">Logged In: NO Hi nice to meet you ! Yes Im sure using vc-7_1, all other libs compile Ok. How do see that envir vars is not appropriate ? </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>az_sw_dude</dc:creator> <pubDate>Mon, 22 Nov 2004 21:38:24 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/318#comment:3 https://svn.boost.org/trac10/ticket/318#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=579686 &gt;How do see that envir vars is not appropriate ? If VC6 is in your PATH variable ahead of VC7. The reason I suspect this is that date-time does not support operator&gt;&gt; under VC6 and it checks the compiler version to macro out this code. Jeff </pre> Ticket