On 13/05/2020 20:27, Roman Savchenko via Boost-users wrote:
Hi All,

I'm trying to update from boost 1.62 to boost 1.73. Boost 1.62 was built with VS15 140 toolchain with shared runtime (/MD) and as static lib. Boost 1.73 was built with VS19 140 toolchain with /MD and as static lib.

Try using /MTd to see if it makes any difference.  See this article:

<https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-2-c4275?view=vs-2019>



I have a class:

#include <boost/noncopyable.h>

class __declspec(dllexport) A : private boost::noncopyable

when I'm using 1.62 I do not have such warning.
when I'm using 1.73 I do have such warning.

I'll appreciate if anyone could help me to understand what I'm missing. Why does new version of header generate this warning?

Thanks,
Roman

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users


--
With over 1.2 billion devices now running Windows 10, customer satisfaction is higher than any previous version of windows.

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to