Boost logo

Boost :

Subject: Re: [boost] Official warnings policy?
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-07 03:28:42


On Fri, Nov 6, 2009 at 9:50 PM, Robert Ramey <ramey_at_[hidden]> wrote:
> By the most phantastic of coincidences, a user reported a track item that
> including
> headers provokes a large number of warnings with msvc when warning level 4
> is used.
> (I use level 3).  It turns out that the problem is the compiler cannot
> create a default
> constructor and assignment operator when a class has a const member.  No
> matter
> that the classes are derived from boost::noncopyable and No matter that
> non of the tests copy or assign the classes in question.  So to really fix
> this
> boost::noncopyable will need to be replaced with something else and that
> will have to be documented and maybe even mini-reviewed.  So there is
> going to be a lot more here than meets the eye.

"Warning! Your design works as expected! Run for cover!!!" :)

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk