|
Boost Users : |
From: Edward Diener (eddielee_at_[hidden])
Date: 2002-08-04 11:52:16
Using Boost 1.28 and regex I get linker errors regarding raw_storage. I
believe someone has brought this up before but I didn't save the previous
answer.
error LNK2001: unresolved external symbol "public: class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
__fastcall boost::re_detail::raw_storage<class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
>::allocator(void)const "
error LNK2001: unresolved external symbol "public: class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
__fastcall boost::re_detail::raw_storage<class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
>::allocator(void)const "
error LNK2001: unresolved external symbol "public: __thiscall
boost::re_detail::raw_storage<class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
>::raw_storage<class boost::detail::allocator_adapter<char,class
boost::detail::simple_alloc> >(class
re_detail::detail::allocator_adapter<char,class boost::detail::simple_alloc>
const &)"
error LNK2001: unresolved external symbol "public: __thiscall
boost::re_detail::raw_storage<class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
>::raw_storage<class boost::detail::allocator_adapter<char,class
boost::detail::simple_alloc> >(class
re_detail::detail::allocator_adapter<char,class boost::detail::simple_alloc>
const &)"
error LNK2001: unresolved external symbol "public: void * __fastcall
boost::re_detail::raw_storage<class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
>::insert(unsigned int,unsigned int)"
error LNK2001: unresolved external symbol "public: void __fastcall
boost::re_detail::raw_storage<class
boost::detail::allocator_adapter<char,class boost::detail::simple_alloc>
>::resize(unsigned int)"
It seems to be related to these lines in instances.hpp
template class re_detail::raw_storage< BOOST_DEFAULT_ALLOCATOR
BOOST_REGEX_CHAR_T) >;
template class BOOST_REGEX_DECL
re_detail::raw_storage<BOOST_DEFAULT_ALLOCATOR(BOOST_REGEX_CHAR_T) >;
Are these lines in error ? Should one or both of them be removed ? My guess
is that the line with BOOST_REGEX_DECL needs to be removed.
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