Opened 18 years ago
Closed 13 years ago
#316 closed Bugs (duplicate)
date_time type conversion warning
| Reported by: | nobody | Owned by: | az_sw_dude | 
|---|---|---|---|
| Milestone: | Component: | date_time | |
| Version: | None | Severity: | Problem | 
| Keywords: | Cc: | 
Description
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<_CharT,_Traits,_Alloc>::value_t
ype' to 'char', possible loss of data
        with
        [
            _CharT=wchar_t,
            _Traits=_STL::char_traits<wchar_t>,
            _Alloc=_STL::allocator<wchar_t>
        ]
        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<date_type,_STL::b
asic_string<_CharT,_Traits,_Alloc>::iterator>
(iterator_type &,iterator_type &,wchar_t)' being compiled
        with
        [
            date_type=boost::gregorian::date,
            _CharT=wchar_t,
            _Traits=_STL::char_traits<wchar_t>,
            _Alloc=_STL::allocator<wchar_t>,
            
iterator_type=_STL::basic_string<wchar_t,_STL::char_tr
aits<wchar_t>,_STL::allocator<wchar_t>>::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<point_rep,duratio
n_rep> 
boost::date_time::from_simple_string_type<boost::grego
rian::date,wchar_t>(const 
_STL::basic_string<_CharT,_Traits,_Alloc> &)' being 
compiled
        with
        [
            point_rep=boost::gregorian::date,
            duration_rep=boost::gregorian::date_duration,
            _CharT=wchar_t,
            _Traits=_STL::char_traits<wchar_t>,
            _Alloc=_STL::allocator<wchar_t>
        ]
      Change History (2)
comment:1 by , 15 years ago
| Component: | None → date_time | 
|---|---|
| Severity: | → Problem | 
comment:2 by , 13 years ago
| Resolution: | None → duplicate | 
|---|---|
| Status: | assigned → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Duplicates #287