[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#333250: marked as done (libboost-dev: g++-4.0 does not like boost::iostreams::filtering_istream)



Your message dated Fri, 18 Nov 2005 16:17:40 +0100
with message-id <17277.61588.347683.790105@gargle.gargle.HOWL>
and subject line libboost-dev: g++-4.0 does not like boost::iostreams::filtering_istream
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Oct 2005 05:11:42 +0000
>From alex@fullpunk.kicks-ass.net Mon Oct 10 22:11:42 2005
Return-path: <alex@fullpunk.kicks-ass.net>
Received: from relais.videotron.ca [24.201.245.36] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EPCQP-00047I-00; Mon, 10 Oct 2005 22:11:42 -0700
Received: from localhost.localdomain ([24.201.130.124])
 by VL-MO-MR002.ip.videotron.ca
 (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005))
 with ESMTP id <0IO60038WJREN0B0@VL-MO-MR002.ip.videotron.ca> for
 submit@bugs.debian.org; Tue, 11 Oct 2005 01:11:39 -0400 (EDT)
Received: from alex by localhost.localdomain with local (Exim 4.54 #1 (Debian))
	id 1EPCQM-0007iL-1r; Tue, 11 Oct 2005 01:11:38 -0400
Date: Tue, 11 Oct 2005 01:11:37 -0400
From: Alexandre Patry <zaphod.beeblebrox@videotron.ca>
Subject: libboost-dev: g++-4.0 does not like boost::iostreams::filtering_istream
Sender: alex@fullpunk.kicks-ass.net
To: Debian Bug Tracking System <submit@bugs.debian.org>
Message-id: <E1EPCQM-0007iL-1r@localhost.localdomain>
MIME-version: 1.0
X-Mailer: reportbug 3.17
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated.
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libboost-dev
Version: 1.33.0-1
Severity: important


When trying to compile the following program with g++-4.0 (version 4.0.2-2)

8<-------------------------------------------------------------------------
#include <boost/iostreams/filtering_stream.hpp>

int main ()
{
    boost::iostreams::filtering_istream s;
}
8<-------------------------------------------------------------------------

I get the following error messages (I named the file t.cc):

8<-------------------------------------------------------------------------
/usr/include/boost/iostreams/traits.hpp: In instantiation of 'const bool boost::iostreams::is_istream_impl_::impl<boost::iostreams::basic_null_device<char, boost::iostreams::input> >::value':
/usr/include/boost/iostreams/traits.hpp:46:   instantiated from 'boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/aux_/nested_type_wknd.hpp:28:   instantiated from 'boost::mpl::aux::nested_type_wknd<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> > >'
/usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:55:   instantiated from 'boost::mpl::or_<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, mpl_::bool_<false>, mpl_::bool_<false> >'
/usr/include/boost/iostreams/traits.hpp:65:   instantiated from 'boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/if.hpp:67:   instantiated from 'boost::mpl::if_<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_device<char, b
/usr/include/boost/mpl/eval_if.hpp:37:   instantiated from 'boost::mpl::eval_if<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_devic
/usr/include/boost/iostreams/traits.hpp:161:   instantiated from 'boost::iostreams::category_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:210:   instantiated from 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:217:   instantiated from 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/iostreams/traits.hpp:46: error: 'helper' was not declared in this scope
/usr/include/boost/iostreams/traits.hpp: In instantiation of 'boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >':
/usr/include/boost/mpl/aux_/nested_type_wknd.hpp:28:   instantiated from 'boost::mpl::aux::nested_type_wknd<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> > >'
/usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:55:   instantiated from 'boost::mpl::or_<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, mpl_::bool_<false>, mpl_::bool_<false> >'
/usr/include/boost/iostreams/traits.hpp:65:   instantiated from 'boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/if.hpp:67:   instantiated from 'boost::mpl::if_<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_device<char, b
/usr/include/boost/mpl/eval_if.hpp:37:   instantiated from 'boost::mpl::eval_if<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_devic
/usr/include/boost/iostreams/traits.hpp:161:   instantiated from 'boost::iostreams::category_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:210:   instantiated from 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:217:   instantiated from 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/iostreams/traits.hpp:46: error: 'boost::iostreams::is_istream_impl_::impl<boost::iostreams::basic_null_device<char, boost::iostreams::input> >::value' is not a valid template argument for type 'bool' because it is a non-constant expression
/usr/include/boost/mpl/aux_/nested_type_wknd.hpp: In instantiation of 'boost::mpl::aux::nested_type_wknd<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> > >':
/usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:55:   instantiated from 'boost::mpl::or_<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, mpl_::bool_<false>, mpl_::bool_<false> >'
/usr/include/boost/iostreams/traits.hpp:65:   instantiated from 'boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/if.hpp:67:   instantiated from 'boost::mpl::if_<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_device<char, b
/usr/include/boost/mpl/eval_if.hpp:37:   instantiated from 'boost::mpl::eval_if<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_devic
/usr/include/boost/iostreams/traits.hpp:161:   instantiated from 'boost::iostreams::category_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:210:   instantiated from 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:217:   instantiated from 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/mpl/aux_/nested_type_wknd.hpp:28: error: no type named 'type' in 'struct boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp: In instantiation of 'boost::mpl::or_<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, mpl_::bool_<false>, mpl_::bool_<false> >':
/usr/include/boost/iostreams/traits.hpp:65:   instantiated from 'boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/if.hpp:67:   instantiated from 'boost::mpl::if_<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_device<char, b
/usr/include/boost/mpl/eval_if.hpp:37:   instantiated from 'boost::mpl::eval_if<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_devic
/usr/include/boost/iostreams/traits.hpp:161:   instantiated from 'boost::iostreams::category_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:210:   instantiated from 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:217:   instantiated from 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/mpl/aux_/preprocessed/gcc/or.hpp:55: error: 'value' is not a member of 'boost::mpl::aux::nested_type_wknd<boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> > >'
/usr/include/boost/mpl/if.hpp: In instantiation of 'boost::mpl::if_<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_device<char, boos
/usr/include/boost/mpl/eval_if.hpp:37:   instantiated from 'boost::mpl::eval_if<boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::select<boost::iostreams::is_iostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::iostream_tag, boost::iostreams::is_istream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::istream_tag, boost::iostreams::is_ostream<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::ostream_tag, boost::iostreams::is_streambuf<boost::iostreams::basic_null_device<char, boost::iostreams::input> >, boost::iostreams::streambuf_tag, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_, mpl_::bool_<true>, mpl_::void_>, boost::iostreams::detail::member_category<boost::iostreams::basic_null_devic
/usr/include/boost/iostreams/traits.hpp:161:   instantiated from 'boost::iostreams::category_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:210:   instantiated from 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp:217:   instantiated from 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/mpl/if.hpp:67: error: 'value' is not a member of 'boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/mpl/if.hpp:70: error: 'value' is not a member of 'boost::iostreams::is_std_io<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/traits.hpp: In instantiation of 'const int boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >::value':
/usr/include/boost/iostreams/traits.hpp:217:   instantiated from 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/iostreams/traits.hpp:211: error: 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >::boost_select_by_size_temp_value' is not a valid template argument for type 'unsigned int' because it is a non-constant expression
/usr/include/boost/iostreams/traits.hpp: In instantiation of 'boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >':
/usr/include/boost/iostreams/chain.hpp:307:   instantiated from 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/iostreams/traits.hpp:217: error: 'boost::iostreams::detail::io_mode_id<boost::iostreams::basic_null_device<char, boost::iostreams::input> >::value' is not a valid template argument for type 'int' because it is a non-constant expression
/usr/include/boost/iostreams/chain.hpp: In member function 'void boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::close() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]':
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/iostreams/chain.hpp:307: error: no type named 'type' in 'struct boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:307: error: no type named 'type' in 'struct boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
/usr/include/boost/iostreams/chain.hpp:303:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_impl::~chain_impl() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/checked_delete.hpp:34:   instantiated from 'void boost::checked_delete(T*) [with T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/detail/shared_count.hpp:86:   instantiated from 'boost::detail::shared_count::shared_count(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/shared_ptr.hpp:124:   instantiated from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl, T = boost::iostreams::detail::chain_base<boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, char, std::char_traits<char>, std::allocator<char>, boost::iostreams::input>::chain_impl]'
/usr/include/boost/iostreams/chain.hpp:139:   instantiated from 'boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc, Mode>::chain_base() [with Self = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Mode = boost::iostreams::input]'
/usr/include/boost/iostreams/chain.hpp:399:   instantiated from 'boost::iostreams::chain<Mode, Ch, Tr, Alloc>::chain() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>]'
/usr/include/boost/iostreams/filtering_stream.hpp:77:   instantiated from 'boost::iostreams::detail::filtering_stream_base<Chain, Access>::filtering_stream_base() [with Chain = boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>, std::allocator<char> >, Access = boost::iostreams::public_]'
/usr/include/boost/iostreams/filtering_stream.hpp:134:   instantiated from 'boost::iostreams::filtering_stream<Mode, Ch, Tr, Alloc, Access>::filtering_stream() [with Mode = boost::iostreams::input, Ch = char, Tr = std::char_traits<char>, Alloc = std::allocator<char>, Access = boost::iostreams::public_]'
t.cc:5:   instantiated from here
/usr/include/boost/iostreams/chain.hpp:307: error: no type named 'type' in 'struct boost::iostreams::mode_of<boost::iostreams::basic_null_device<char, boost::iostreams::input> >'
8<-------------------------------------------------------------------------

It compiles fine with g++-3.4 and g++-3.3 but not with g++-2.95.  From what I
remember, this error showed up in g++ 4.0.1-7.  


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-mm2
Locale: LANG=fr_CA, LC_CTYPE=fr_CA (charmap=ISO-8859-1)

Versions of packages libboost-dev depends on:
ii  libstdc++2.10-dev [libstdc++ 1:2.95.4-22 The GNU stdc++ library (developmen
ii  libstdc++5-3.3-dev [libstdc+ 1:3.3.6-10  The GNU Standard C++ Library v3 (d
ii  libstdc++6-4.0-dev [libstdc+ 4.0.2-2     The GNU Standard C++ Library v3 (d
ii  libstdc++6-dev [libstdc++-de 3.4.4-8     The GNU Standard C++ Library v3 (d

libboost-dev recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 333250-done) by bugs.debian.org; 18 Nov 2005 15:17:43 +0000
>From doko@cs.tu-berlin.de Fri Nov 18 07:17:43 2005
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de ([130.149.17.13] ident=root)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Ed7zj-0004IG-4B
	for 333250-done@bugs.debian.org; Fri, 18 Nov 2005 07:17:43 -0800
Received: from mailhost.cs.tu-berlin.de (postfix@mail.cs.tu-berlin.de [130.149.17.13])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id QAA05156
	for <333250-done@bugs.debian.org>; Fri, 18 Nov 2005 16:17:41 +0100 (MET)
Received: from localhost (localhost [127.0.0.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id D2F06F20C
	for <333250-done@bugs.debian.org>; Fri, 18 Nov 2005 16:17:40 +0100 (MET)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 24745-39 for <333250-done@bugs.debian.org>;
 Fri, 18 Nov 2005 16:17:40 +0100 (MET) 14018
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP
	for <333250-done@bugs.debian.org>; Fri, 18 Nov 2005 16:17:40 +0100 (MET)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id jAIFHeeT012781;
	Fri, 18 Nov 2005 16:17:40 +0100 (MET)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17277.61588.347683.790105@gargle.gargle.HOWL>
Date: Fri, 18 Nov 2005 16:17:40 +0100
To: 333250-done@bugs.debian.org
Subject: Re: libboost-dev: g++-4.0 does not like boost::iostreams::filtering_istream
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Version: 4.0.2-3

works with 4.0.2-3



Reply to: