Ticket #6935 (closed Feature Requests: fixed)
Noncopyable gives compiler warning when used in DLL interface
|Reported by:||Fredrik Orderud <forderud@…>||Owned by:||viboes|
Inheritance from boost::noncopyable in a DLL interface class with the Microsoft Visual C++ 2010 compiler gives a warning C4275: non dll-interface class 'boost::noncopyable_::noncopyable' used as base for dll-interface class.
It would be great if there had been a straight-forward method for disabling this warning. One possibility could be to disable it in boost/config/user.hpp, but noncopyable.hpp does unfortunately not include this file.
Could it be possible for noncopyable.hpp to either include boost/config/user.hpp (through config.hpp) or provide another means for disabling this warning?
Thanks in advance, Fredrik Orderud
- Owner set to no-maintainer
- Component changed from None to utility
- Owner changed from no-maintainer to viboes
- Status changed from new to assigned