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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to