Boost logo

Boost Users :

From: 😉 Good Guy 😉 (xfsgpr_at_[hidden])
Date: 2020-05-13 20:24:59


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
> Boost-users_at_[hidden]
> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net