Building with VS2015

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


                Hi,

 

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
compilation.

 

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

#endif

 

In config.hw.

 

 

                Bert

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.manyfish.co.uk/pipermail/neon/attachments/20150721/d6ba3319/attachment.html 


More information about the neon mailing list