Boost logo

Boost Users :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-09-04 02:48:17


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

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