After successfully using cmake-gui configure and generate commands to generate nmake makefile, this error appears after running nmake command from VS2015 x64 Native Tools Command Prompt:
libssh/priv.h(68): fatal error C1189: #error: "no snprintf compatible function found"
NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
Did Microsoft change anything regarding snprintf function ?
How to mitigate this ?