Opened 18 years ago
Closed 18 years ago
#318 closed Support Requests (Works For Me)
boost_1_32_0: Cant build date_time
Reported by: | nobody | Owned by: | az_sw_dude |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
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 '>>' : no operator found which takes a right-hand operand of type 'boost::date_time::date_names_put<Config,charT,O utputIterator>::string_type' (or there is no acceptable conversion) with [ Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::c har_traits<wchar_t>> ] C:\_Vlad_Job\boost_1_32_0\boost\lexical_cast.hpp (189) : see reference to function template instantiation 'bool boost::detail::lexical_stream<Target,Source>::operator >><Target>(InputStreamable &)' being compiled with [ Target=boost::date_time::date_names_put<boost::greg orian::greg_facet_config,wchar_t,std::ostreambuf_iterat or<wchar_t,std::char_traits<wchar_t>>>::string_type, Source=const char *, InputStreamable=boost::date_time::date_names_put<bo ost::gregorian::greg_facet_config,wchar_t,std::ostream buf_iterator<wchar_t,std::char_traits<wchar_t>>>::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<boost::date_time::date_names_put< Config,charT,OutputIterator>::string_type,const char*> (Source)' being compiled with [ Target=boost::date_time::date_names_put<boost::greg orian::greg_facet_config,wchar_t,std::ostreambuf_iterat or<wchar_t,std::char_traits<wchar_t>>>::string_type, Config=boost::gregorian::greg_facet_config, charT=wchar_t, OutputIterator=std::ostreambuf_iterator<wchar_t,std::c har_traits<wchar_t>>, 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<Config,charT,Output Iterator>::do_put_special_value (boost::date_time::date_names_put<Config,charT,Outpu tIterator>::iter_type &,boost::date_time::date_names_put<Config,charT,Outp utIterator>::special_value_enum) const' with [ ... etc Any suggestions how to fix this ?
Change History (3)
comment:2 by , 18 years ago
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 ?
comment:3 by , 18 years ago
Status: | assigned → closed |
---|
Logged In: YES user_id=579686 >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>> under VC6 and it checks the compiler version to macro out this code. Jeff
Note:
See TracTickets
for help on using tickets.