Boost logo

Boost Users :

From: fintaeph (cpoirier_at_[hidden])
Date: 2002-02-06 02:50:17


Hi all,

I have been having trouble getting the tokenizer examples to compile
using gcc 3.0.3 and stlport. I am using the example code from
http://www.boost.org/libs/tokenizer/escaped_list_separator.htm, with
the following compiler output:

test.cpp: In instantiation of `::boost::::boost::iterator_ada
ptor<::boost::detail::::boost::detail::token_iterator_base<co
nst char *>,::boost::detail::::boost::detail::tokenizer_polic
y<::_STL::::_STL::basic_string<char,::_STL::::_STL::char_trai
ts<char>,::_STL::::_STL::allocator<char> >,::boost::::boost::
escaped_list_separator<char,::_STL::::_STL::char_traits<char>
> >,::_STL::::_STL::basic_string<char,::_STL::::_STL::char_t
raits<char>,::_STL::::_STL::allocator<char> >,const ::_STL:::
:_STL::basic_string<char,::_STL::::_STL::char_traits<char>,::
_STL::::_STL::allocator<char> > &,const ::_STL::::_STL::basic
_string<char,::_STL::::_STL::char_traits<char>,::_STL::::_STL
::allocator<char> > *,::_STL::forward_iterator_tag,int>':
test.cpp:11: instantiated from here
test.cpp:11: `sizeof' applied to incomplete type `::boost::::
boost::STATIC_ASSERTION_FAILURE<false>'

If anyone has encountered and solved this problem before, I would
greatly appreciate knowing what I'm doing wrong.

Thanks,
   Chris.

P.S. I get similar results with all the tokenizer examples.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net