|
Boost : |
From: euanbemail-boost_at_[hidden]
Date: 2008-02-13 08:09:58
Compiling code from the Statechart tutorial on linux x86 with gcc 4.0.1 with the -Wextra flag results in the following warning:
/usr/local/boost/1.34.0/x86/include/boost-1_34/boost/statechart/detail/counted_base.hpp: In copy constructor âboost::statechart::detail::counted_base<NeedsLocking>::counted_base(const boost::statechart::detail::counted_base<NeedsLocking>&) [with bool NeedsLocking = true]â:/usr/local/boost/1.34.0/x86/include/boost-1_34/boost/statechart/detail/rtti_policy.hpp:95: instantiated from here
/usr/local/boost/1.34.0/x86/include/boost-1_34/boost/statechart/detail/counted_base.hpp:64: warning: base class âstruct boost::statechart::detail::count_base<true>â should be explicitly initialized in the copy constructor
I've attached a patch to fix this. If a developer can pick this up, that would be great.
Euan
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk