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
1>d:.conan\9b4b5d\1\include\boost\system\detail\system_category_win32.hpp(52): error C2039: '_snprintf': is not a member of 'std'
1> d:.conan\9b4b5d\1\include\boost\move\detail\iterator_traits.hpp(29): note: see declaration of 'std'
<system_category_win32.hpp> is a new file introduced in boost-system-1.69.0. It is included in <boost/system/error_code.hpp>.
VC2015 has snprintf in , so could it be changed to below?
// Define if you have the snprintf variants.
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
Workaround:
#include <soci/soci.h>
#undef snprintf
The <soci/soci.h> includes "soci/soci-platform.h", so those definitions impact a lot of source files.
The text was updated successfully, but these errors were encountered:
I met error when upgrading boost to 1.69.0:
<system_category_win32.hpp> is a new file introduced in boost-system-1.69.0. It is included in <boost/system/error_code.hpp>.
VC2015 has snprintf in , so could it be changed to below?
Workaround:
The <soci/soci.h> includes "soci/soci-platform.h", so those definitions impact a lot of source files.
The text was updated successfully, but these errors were encountered: