C
crimaniak
Hi All!
I read about -Weffc++ key and try to use it to make my code more
reliable. But compiler gives me about 1500 warnings for project and
most of them located in used libraries: boost, dlib, json_spirit and
so on. For example every time then you use boost::noncopyable (class
foo : boost::noncopyable ....) you have warning about non-virtual
destructor in base class boost::noncopyable. Additional you have
warnings about absence of operator= and copy constructor. And so on,
so on, so on...
- Is boost need some adjusting to support Scott Meyers
recommendations?
- Is -Weffc++ mode too paranoic?
What do you think?
I read about -Weffc++ key and try to use it to make my code more
reliable. But compiler gives me about 1500 warnings for project and
most of them located in used libraries: boost, dlib, json_spirit and
so on. For example every time then you use boost::noncopyable (class
foo : boost::noncopyable ....) you have warning about non-virtual
destructor in base class boost::noncopyable. Additional you have
warnings about absence of operator= and copy constructor. And so on,
so on, so on...
- Is boost need some adjusting to support Scott Meyers
recommendations?
- Is -Weffc++ mode too paranoic?
What do you think?