|
Boost : |
From: Paul Hamilton (paul_at_[hidden])
Date: 2003-09-05 02:45:37
When I try to build the new serialization stuff I get:
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.tcc: In static
member
function `static _CharT* std::basic_string<_CharT, _Traits,
_Alloc>::_S_construct(_InIter, _InIter, const _Alloc&,
std::forward_iterator_tag) [with _FwdIter =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char,
_Traits =
std::char_traits<char>, _Alloc = std::allocator<char>]':
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.h:707:
instantiated from `static _CharT* std::basic_string<_CharT, _Traits,
_Alloc>::_S_construct_aux(_InIter, _InIter, const _Alloc&,
__false_type) [with _InIter =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char, _Traits
= std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.h:724:
instantiated from `static _CharT* std::basic_string<_CharT, _Traits,
_Alloc>::_S_construct(_InIter, _InIter, const _Alloc&) [with _InIter =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char, _Traits
= std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.tcc:241:
instantiated from `std::basic_string<_CharT, _Traits,
_Alloc>::basic_string(_InputIter, _InputIter, const _Alloc&) [with
_InputIterator = boost::spirit::multi_pass<std::istream_iterator<char,
char, std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char, _Traits
= std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.tcc:516:
instantiated from `std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT, _Traits,
_Alloc>::_M_replace(__gnu_cxx::__normal_iterator<typename
_Alloc::pointer, std::basic_string<_CharT, _Traits, _Alloc> >,
__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
std::basic_string<_CharT, _Traits, _Alloc> >, _InputIter, _InputIter,
std::input_iterator_tag) [with _InputIterator =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char, _Traits
= std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.h:685:
instantiated from `std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT, _Traits,
_Alloc>::replace(__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
std::basic_string<_CharT, _Traits, _Alloc> >,
__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
std::basic_string<_CharT, _Traits, _Alloc> >, _InputIterator,
_InputIterator) [with _InputIterator =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char, _Traits
= std::char_traits<char>, _Alloc = std::allocator<char>]'
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.h:472:
instantiated from `std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT, _Traits, _Alloc>::append(_InputIterator,
_InputIterator) [with _InputIterator =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>, _CharT = char, _Traits
= std::char_traits<char>, _Alloc = std::allocator<char>]'
libs/serialization/src/basic_xml_grammar.cpp:43: instantiated from
`void boost::archive::<unnamed>::append_string<String,
Iterator>::operator()(Iterator, Iterator) const [with String =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
Iterator = boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>]'
/usr/src/boost/boost/spirit/core/scanner/scanner.hpp:175:
instantiated from `static void
boost::spirit::attributed_action_policy<boost::spirit::nil_t>::call(cons
t ActorT&, boost::spirit::nil_t, const IteratorT&, const IteratorT&)
[with ActorT =
boost::archive::<unnamed>::append_string<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque> >, IteratorT =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>]'
/usr/src/boost/boost/spirit/core/scanner/scanner.hpp:188:
instantiated from `void boost::spirit::action_policy::do_action(const
ActorT&, const AttrT&, const IteratorT&, const IteratorT&) const [with
ActorT =
boost::archive::<unnamed>::append_string<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque> >, AttrT =
boost::spirit::nil_t, IteratorT =
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>]'
/usr/src/boost/boost/spirit/core/composite/actions.hpp:121:
instantiated from `typename
boost::spirit::parser_result<boost::spirit::action<ParserT, ActionT>,
ScannerT>::type boost::spirit::action<ParserT, ActionT>::parse(const
ScannerT&) const [with ScannerT =
boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<c
har, char, std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>,
boost::spirit::scanner_policies<boost::spirit::iteration_policy,
boost::spirit::match_policy, boost::spirit::action_policy> >, ParserT =
boost::spirit::kleene_star<boost::spirit::chset<wchar_t> >, ActionT =
boost::archive::<unnamed>::append_string<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque> >]'
/usr/src/boost/boost/spirit/core/non_terminal/impl/rule.ipp:51:
instantiated from `RT boost::spirit::impl::concrete_parser<ParserT,
ScannerT, RT>::do_parse_virtual(const ScannerT&) const [with ParserT =
boost::spirit::action<boost::spirit::kleene_star<boost::spirit::chset<wc
har_t> >,
boost::archive::<unnamed>::append_string<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::spirit::multi_pass<std::istream_iterator<char, char,
std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque> > >, ScannerT =
boost::spirit::scanner<boost::spirit::multi_pass<std::istream_iterator<c
har, char, std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>,
boost::spirit::scanner_policies<boost::spirit::iteration_policy,
boost::spirit::match_policy, boost::spirit::action_policy> >, RT =
boost::spirit::match<boost::spirit::nil_t>]'
/usr/src/boost/boost/spirit/core/non_terminal/impl/
object_with_id.ipp:32: instantiated from here
/usr/include/gcc/darwin/3.1/g++-v3/bits/basic_string.tcc:143: no
matching
function for call to
`boost::spirit::multi_pass<std::istream_iterator<char,
char, std::char_traits<char>, ptrdiff_t>,
boost::spirit::multi_pass_policies::input_iterator,
boost::spirit::multi_pass_policies::ref_counted,
boost::spirit::multi_pass_policies::buf_id_check,
boost::spirit::multi_pass_policies::std_deque>::multi_pass(int)'
/usr/src/boost/boost/archive/multi_pass.hpp:923: candidates are:
boost::spirit::multi_pass<InputT, InputPolicy, OwnershipPolicy,
CheckingPolicy, StoragePolicy>::multi_pass(const
boost::spirit::multi_pass<InputT, InputPolicy, OwnershipPolicy,
CheckingPolicy, StoragePolicy>&) [with InputT =
std::istream_iterator<char,
char, std::char_traits<char>, ptrdiff_t>, InputPolicy =
boost::spirit::multi_pass_policies::input_iterator, OwnershipPolicy =
boost::spirit::multi_pass_policies::ref_counted, CheckingPolicy =
boost::spirit::multi_pass_policies::buf_id_check, StoragePolicy =
boost::spirit::multi_pass_policies::std_deque]
/usr/src/boost/boost/archive/multi_pass.hpp:884:
boost::spirit::multi_pass<InputT, InputPolicy, OwnershipPolicy,
CheckingPolicy, StoragePolicy>::multi_pass(InputT) [with InputT =
std::istream_iterator<char, char, std::char_traits<char>, ptrdiff_t>,
InputPolicy = boost::spirit::multi_pass_policies::input_iterator,
OwnershipPolicy = boost::spirit::multi_pass_policies::ref_counted,
CheckingPolicy = boost::spirit::multi_pass_policies::buf_id_check,
StoragePolicy = boost::spirit::multi_pass_policies::std_deque]
/usr/src/boost/boost/archive/multi_pass.hpp:866:
boost::spirit::multi_pass<InputT, InputPolicy, OwnershipPolicy,
CheckingPolicy, StoragePolicy>::multi_pass() [with InputT =
std::istream_iterator<char, char, std::char_traits<char>, ptrdiff_t>,
InputPolicy = boost::spirit::multi_pass_policies::input_iterator,
OwnershipPolicy = boost::spirit::multi_pass_policies::ref_counted,
CheckingPolicy = boost::spirit::multi_pass_policies::buf_id_check,
StoragePolicy = boost::spirit::multi_pass_policies::std_deque]
This seems to be in the guts of spirit somewhere, but i can't decipher
it.
I am using 1.30.2 of boost, version 10 (latest) of the serialization
library, and "darwin, gcc 3.1".
Can anybody help?
---------------------
Paul Hamilton
pHamtec P/L - Software Makers
http://www.phamtec.com/
mailto:paul_at_[hidden]
The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.
-----------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk