Building with VS2015

Bert Huijben bert at
Tue Jul 21 07:17:36 EDT 2015



When trying to build neon with Visual Studio 2015 (released yesterday) I
found that this version now adds support for snprintf, which breaks the neon


config.hw #defines this function to the slightly incompatible _snprintf to
support previous versions of Visual Studio. (The difference is in the return
value if I remember correctlu)


To support building with VS2015 I would recommend using something like


#if (_MSC_VER < 1900)

# define snprintf _snprintf



In config.hw.





-------------- next part --------------
An HTML attachment was scrubbed...

More information about the neon mailing list