You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am leaving it here for the record as I have been facing it in both VS 2017 and VS 2019 Community versions recently. When building a simple test code:
The warnings can be masked by the #define, but it seems to be only temporary solution.
Incidentally, I have noticed that some other projects already addressed this problem (e.g. nlohmann/json#872) and the fix seems to be rather light, but I am not that familiar with the STL to propose the fix myself.
The test code build log for the reference (from ninja) is here: xtest.build.log
The text was updated successfully, but these errors were encountered:
I am leaving it here for the record as I have been facing it in both VS 2017 and VS 2019 Community versions recently. When building a simple test code:
with
/std:c++17
the compiler produces a heap of warnings of the type:This is related to the deprecated allocator implementation in C++17 (as detailed here https://devblogs.microsoft.com/cppblog/c17-feature-removals-and-deprecations/).
The warnings can be masked by the
#define
, but it seems to be only temporary solution.Incidentally, I have noticed that some other projects already addressed this problem (e.g. nlohmann/json#872) and the fix seems to be rather light, but I am not that familiar with the STL to propose the fix myself.
The test code build log for the reference (from ninja) is here:
xtest.build.log
The text was updated successfully, but these errors were encountered: