Re: [Boost-bugs] [Boost C++ Libraries] #1299: change in typedef stringstream_type in format_date_parser.hpp causing compilation error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1299: change in typedef stringstream_type in format_date_parser.hpp causing compilation error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-19 01:36:00


#1299: change in typedef stringstream_type in format_date_parser.hpp causing
compilation error
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: az_sw_dude
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: date_time
   Version: Boost 1.37.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Changes (by anonymous):

  * status: closed => reopened
  * version: Boost 1.34.1 => Boost 1.37.0
  * resolution: fixed =>

Comment:

 Hi,

 This bug seems to be still part of the 1.37.0 version of boost.

 1.37.0_gcc4.3.2//include/boost-1_37/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<OutputT, std::char_traits<_CharT>, std::allocator<_T2>
>&, const std::basic_string<OutputT, 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]':
 Utilities.cpp:474: instantiated from here
 /1.37.0_gcc4.3.2//include/boost-1_37/boost/date_time/format_date_parser.hpp:221:
 error: invalid conversion from 'void*' to 'std::basic_streambuf<char,
 std::char_traits<char> >*'
 /sbcimp/run/pd/boost/64-bit/1.37.0_gcc4.3.2//include/boost-1_37/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>]'

 Ramesh

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1299#comment:3>
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