Boost C++ Libraries: Ticket #316: date_time type conversion warning https://svn.boost.org/trac10/ticket/316 <pre class="wiki">from boost 1.32.0 final draft tarball. d:\development files\boost 1.32.0 \include\boost\date_time\date_parsing.hpp(211) : warning C4244: 'argument' : conversion from '_STL::basic_string&lt;_CharT,_Traits,_Alloc&gt;::value_t ype' to 'char', possible loss of data with [ _CharT=wchar_t, _Traits=_STL::char_traits&lt;wchar_t&gt;, _Alloc=_STL::allocator&lt;wchar_t&gt; ] d:\development files\boost 1.32.0 \include\boost\date_time\date_parsing.hpp(253) : see reference to function template instantiation 'date_type boost::date_time::from_stream_type&lt;date_type,_STL::b asic_string&lt;_CharT,_Traits,_Alloc&gt;::iterator&gt; (iterator_type &amp;,iterator_type &amp;,wchar_t)' being compiled with [ date_type=boost::gregorian::date, _CharT=wchar_t, _Traits=_STL::char_traits&lt;wchar_t&gt;, _Alloc=_STL::allocator&lt;wchar_t&gt;, iterator_type=_STL::basic_string&lt;wchar_t,_STL::char_tr aits&lt;wchar_t&gt;,_STL::allocator&lt;wchar_t&gt;&gt;::iterator ] d:\development files\boost 1.32.0 \include\boost\date_time\gregorian\parsers.hpp(78) : see reference to function template instantiation 'boost::date_time::period&lt;point_rep,duratio n_rep&gt; boost::date_time::from_simple_string_type&lt;boost::grego rian::date,wchar_t&gt;(const _STL::basic_string&lt;_CharT,_Traits,_Alloc&gt; &amp;)' being compiled with [ point_rep=boost::gregorian::date, duration_rep=boost::gregorian::date_duration, _CharT=wchar_t, _Traits=_STL::char_traits&lt;wchar_t&gt;, _Alloc=_STL::allocator&lt;wchar_t&gt; ] </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/316 Trac 1.4.3 Daryle Walker Fri, 03 Aug 2007 11:51:50 GMT component changed; severity set https://svn.boost.org/trac10/ticket/316#comment:1 https://svn.boost.org/trac10/ticket/316#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">date_time</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> </ul> Ticket Steven Watanabe Sun, 31 May 2009 00:53:26 GMT status, resolution changed https://svn.boost.org/trac10/ticket/316#comment:2 https://svn.boost.org/trac10/ticket/316#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicates <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/287" title="#287: Bugs: wrong usage of ios_base::narrow (closed: fixed)">#287</a> </p> Ticket