While building our project with Visual Studio 2017 and linking to the new boost 1.69, I encountered the following error:
c:/git/oss/boost/1.69.0\boost/system/detail/system_category_win32.hpp(52): error C2039: '_snprintf': is not a member of 'std'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\functional(23): note: see declaration of 'std'
make.exe[2]: *** [c:/artifacts/build32//client//core/obj/buttercup.obj] Error 2
I don't actually know what series of header #includes led to system_category_win32.hpp being yanked in, but it is... and it built without error when we were using boost 1.51.
Googling didn't really help explain very well, why this is happening.
While building our project with Visual Studio 2017 and linking to the new boost 1.69, I encountered the following error:
I don't actually know what series of header #includes led to system_category_win32.hpp being yanked in, but it is... and it built without error when we were using boost 1.51.
Googling didn't really help explain very well, why this is happening.