
4 Sep
2007
4 Sep
'07
6:48 a.m.
Bryan Donlan wrote:
Creating a static xpressive regex object referencing statically another regex object causes a spurious (and often extremely long) warning when gcc's -W and -Wall flags are in use.
<snip>
warning: base class 'class boost::enable_shared_from_this<boost::xpressive::detail::regex_impl<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >' should be explicitly initialized in the copy constructor
On svn head, enable_reference_tracking doesn't inherit from enable_shared_from_this, so this bug is already "fixed". -- Eric Niebler Boost Consulting www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com