Boost logo

Boost :

From: Simon Barner (barner_at_[hidden])
Date: 2004-11-17 06:30:33


Hi,

I am trying to build the lastest boost release candidate (also tried the
latest CVS version), and I am getting the below compiler error.

I suppose, there is some problem with the wide character support, but I
could not fix it.

Perhaps someone on this list had similar problems and knows what to do?

System Info: FreeBSD 5.3-STABLE,

Compiler: (gcc -v)
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728

Let me know, if you need more info, or if I should ask somewhere else,
and thanks in advance for your time.

Regards,
 Simon

/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp: In instantiation of `boost::archive::iterators::filter_iterator<<unnamed>::remove_whitespace_predicate<wchar_t>, boost::archive::iterators::istream_iterator<wchar_t> >':
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp:165: instantiated from `boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >'
/usr/include/c++/3.4/bits/stl_iterator_base_types.h:129: instantiated from `std::iterator_traits<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> > >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/detail/iterator.hpp:83: instantiated from `boost::detail::iterator_traits<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> > >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_categories.hpp:163: instantiated from `boost::iterator_traversal<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> > >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/mpl/eval_if.hpp:33: instantiated from `boost::mpl::eval_if<boost::is_same<boost::use_default, boost::use_default>, boost::iterator_traversal<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> > >, boost::mpl::identity<boost::use_default> >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_adaptor.hpp:167: instantiated from `boost::detail::ia_dflt_help<boost::use_default, boost::iterator_traversal<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> > > >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_adaptor.hpp:218: instantiated from `boost::detail::iterator_adaptor_base<boost::transform_iterator<boost::archive::iterators::detail::to_6_bit<wchar_t>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, boost::use_default, boost::use_default>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t, boost::use_default, wchar_t, boost::use_default>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_adaptor.hpp:266: instantiated from `boost::iterator_adaptor<boost::transform_iterator<boost::archive::iterators::detail::to_6_bit<wchar_t>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, boost::use_default, boost::use_default>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t, boost::use_default, wchar_t, boost::use_default>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/transform_iterator.hpp:92: instantiated from `boost::transform_iterator<boost::archive::iterators::detail::to_6_bit<wchar_t>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, boost::use_default, boost::use_default>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/binary_from_base64.hpp:86: instantiated from `boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>'
/usr/include/c++/3.4/bits/stl_iterator_base_types.h:129: instantiated from `std::iterator_traits<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t> >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/detail/iterator.hpp:83: instantiated from `boost::detail::iterator_traits<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t> >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_traits.hpp:49: instantiated from `boost::iterator_difference<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t> >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/mpl/eval_if.hpp:33: instantiated from `boost::mpl::eval_if<boost::is_same<boost::use_default, boost::use_default>, boost::iterator_difference<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t> >, boost::mpl::identity<boost::use_default> >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_adaptor.hpp:167: instantiated from `boost::detail::ia_dflt_help<boost::use_default, boost::iterator_difference<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t> > >'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_adaptor.hpp:218: instantiated from `boost::detail::iterator_adaptor_base<boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, 8, 6, wchar_t>, boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, wchar_t, boost::single_pass_traversal_tag, wchar_t, boost::use_default>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_adaptor.hpp:266: instantiated from `boost::iterator_adaptor<boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, 8, 6, wchar_t>, boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, wchar_t, boost::single_pass_traversal_tag, wchar_t, boost::use_default>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/transform_width.hpp:54: instantiated from `boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, 8, 6, wchar_t>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/impl/basic_text_iprimitive.ipp:68: instantiated from `void boost::archive::basic_text_iprimitive<IStream>::load_binary(void*, size_t) [with IStream = std::wistream]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/libs/serialization/build/../src/basic_text_wiprimitive.cpp:27: instantiated from here
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp:143: error: `boost::archive::iterators::filter_iterator<Predicate, Base>::m_predicate' has incomplete type
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp:78: error: declaration of `struct <unnamed>::remove_whitespace_predicate<wchar_t>'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp: In member function `typename boost::iterator_adaptor<boost::archive::iterators::filter_iterator<Predicate, Base>, Base, boost::use_default, boost::single_pass_traversal_tag, boost::use_default, boost::use_default>::reference boost::archive::iterators::filter_iterator<Predicate, Base>::dereference_impl() [with Predicate = <unnamed>::remove_whitespace_predicate<wchar_t>, Base = boost::archive::iterators::istream_iterator<wchar_t>]':
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp:140: instantiated from `typename boost::iterator_adaptor<boost::archive::iterators::filter_iterator<Predicate, Base>, Base, boost::use_default, boost::single_pass_traversal_tag, boost::use_default, boost::use_default>::reference boost::archive::iterators::filter_iterator<Predicate, Base>::dereference() const [with Predicate = <unnamed>::remove_whitespace_predicate<wchar_t>, Base = boost::archive::iterators::istream_iterator<wchar_t>]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_facade.hpp:516: instantiated from `static typename Facade::reference boost::iterator_core_access::dereference(const Facade&) [with Facade = boost::archive::iterators::filter_iterator<<unnamed>::remove_whitespace_predicate<wchar_t>, boost::archive::iterators::istream_iterator<wchar_t> >]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_facade.hpp:634: instantiated from `Reference boost::iterator_facade<I, V, TC, R, D>::operator*() const [with Derived = boost::archive::iterators::filter_iterator<<unnamed>::remove_whitespace_predicate<wchar_t>, boost::archive::iterators::istream_iterator<wchar_t> >, Value = wchar_t, CategoryOrTraversal = boost::single_pass_traversal_tag, Reference = wchar_t, Difference = ptrdiff_t]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/transform_iterator.hpp:137: instantiated from `typename boost::detail::transform_iterator_base<UnaryFunction, Iterator, Reference, Value>::type::reference boost::transform_iterator<UnaryFunction, Iterator, Reference, Value>::dereference() const [with UnaryFunction = boost::archive::iterators::detail::to_6_bit<wchar_t>, Iterator = boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, Reference = boost::use_default, Value = boost::use_default]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_facade.hpp:516: instantiated from `static typename Facade::reference boost::iterator_core_access::dereference(const Facade&) [with Facade = boost::transform_iterator<boost::archive::iterators::detail::to_6_bit<wchar_t>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, boost::use_default, boost::use_default>]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_facade.hpp:634: instantiated from `Reference boost::iterator_facade<I, V, TC, R, D>::operator*() const [with Derived = boost::transform_iterator<boost::archive::iterators::detail::to_6_bit<wchar_t>, boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, boost::use_default, boost::use_default>, Value = wchar_t, CategoryOrTraversal = boost::single_pass_traversal_tag, Reference = wchar_t, Difference = ptrdiff_t]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/transform_width.hpp:139: instantiated from `CharType boost::archive::iterators::transform_width<Base, BitsOut, BitsIn, CharType>::fill() [with Base = boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, int BitsOut = 8, int BitsIn = 6, CharType = wchar_t]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/transform_width.hpp:71: instantiated from `CharType boost::archive::iterators::transform_width<Base, BitsOut, BitsIn, CharType>::dereference_impl() [with Base = boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, int BitsOut = 8, int BitsIn = 6, CharType = wchar_t]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/transform_width.hpp:78: instantiated from `CharType boost::archive::iterators::transform_width<Base, BitsOut, BitsIn, CharType>::dereference() const [with Base = boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, int BitsOut = 8, int BitsIn = 6, CharType = wchar_t]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_facade.hpp:516: instantiated from `static typename Facade::reference boost::iterator_core_access::dereference(const Facade&) [with Facade = boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, 8, 6, wchar_t>]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/iterator/iterator_facade.hpp:634: instantiated from `Reference boost::iterator_facade<I, V, TC, R, D>::operator*() const [with Derived = boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istream_iterator<wchar_t> >, wchar_t>, 8, 6, wchar_t>, Value = wchar_t, CategoryOrTraversal = boost::single_pass_traversal_tag, Reference = wchar_t, Difference = ptrdiff_t]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/impl/basic_text_iprimitive.ipp:79: instantiated from `void boost::archive::basic_text_iprimitive<IStream>::load_binary(void*, size_t) [with IStream = std::wistream]'
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/libs/serialization/build/../src/basic_text_wiprimitive.cpp:27: instantiated from here
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp:132: error: `m_predicate' undeclared (first use this function)
/storage/tmp/portbuild/usr/ports/devel/boost-1.32.0/work/boost_1_32_0/boost/archive/iterators/remove_whitespace.hpp:132: error: (Each undeclared identifier is reported only once for each function it appears in.)
...failed gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_wiprimitive.o...
gcc-C++-action bin/boost/libs/serialization/build/libboost_wserialization.a/gcc/release/basic_text_woprimitive.o



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk