Re: [Boost-bugs] [Boost C++ Libraries] #1524: format_date_parser.hpp(221) : cannot convert parameter 1

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1524: format_date_parser.hpp(221) : cannot convert parameter 1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-16 18:06:28


#1524: format_date_parser.hpp(221) : cannot convert parameter 1
-----------------------------------+----------------------------------------
  Reporter: olafvdspek_at_[hidden] | Owner: az_sw_dude
      Type: Bugs | Status: reopened
 Milestone: Boost 1.36.0 | Component: date_time
   Version: Boost 1.34.1 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------
Changes (by smr_at_[hidden]):

  * status: closed => reopened
  * resolution: fixed =>

Comment:

 This remains a problem with Boost 1.37.
 The error message from GNU C++ 4.3 is as follows.

 /usr/include/boost/date_time/format_date_parser.hpp: In member function
 â€˜date_type boost::date_time::format_date_parser<date_type,
 charT>::parse_date(const std::basic_string<charT,
 std::char_traits<_CharT>, std::allocator<_T2> >&, const
 std::basic_string<charT, std::char_traits<_CharT>, std::allocator<_T2> >&,
 const boost::date_time::special_values_parser<date_type, charT>&) const
 [with date_type = boost::gregorian::date, charT = char]’:
 bug-448576.cxx:33: instantiated from here
 /usr/include/boost/date_time/format_date_parser.hpp:221: error: invalid
 conversion from ‘void*’ to ‘std::basic_streambuf<char,
 std::char_traits<char> >*’
 /usr/include/boost/date_time/format_date_parser.hpp:221: error:
 initializing argument 1 of ‘std::istreambuf_iterator<_CharT,
 _Traits>::istreambuf_iterator(std::basic_streambuf<_CharT, _Traits>*)
 [with _CharT = char, _Traits = std::char_traits<char>]’

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1524#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC