"Edward Diener"
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
__fastcall boost::re_detail::raw_storage ::allocator(void)const "
error LNK2001: unresolved external symbol "public: class boost::detail::allocator_adapter
__fastcall boost::re_detail::raw_storage ::allocator(void)const "
error LNK2001: unresolved external symbol "public: __thiscall boost::re_detail::raw_storage
::raw_storage
>(class re_detail::detail::allocator_adapter const &)" error LNK2001: unresolved external symbol "public: __thiscall boost::re_detail::raw_storage
::raw_storage
>(class re_detail::detail::allocator_adapter const &)" error LNK2001: unresolved external symbol "public: void * __fastcall boost::re_detail::raw_storage
::insert(unsigned int,unsigned int)"
error LNK2001: unresolved external symbol "public: void __fastcall boost::re_detail::raw_storage
::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
; 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.
Removing the first of the two lines cited in instances.hpp, the line without the BOOST_REGEX_DECL fixes the problem. Hopefully this will be fixed for the next release.