AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2016.05.09 06:48 "[Tiff] snprintf and MSVC 2015", by Mikhail
2016.05.09 12:36 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
2016.05.09 13:43 "Re: [Tiff] snprintf and MSVC 2015", by Jeff McKenna
2016.05.09 15:31 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
[...]

2016.05.09 13:43 "Re: [Tiff] snprintf and MSVC 2015", by Jeff McKenna

Yes, I also have to do the same with MSVC 2015; this was first reported here back in October: http://www.asmail.be/msg0055224704.html

-jeff

--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/

On 2016-05-09 3:48 AM, Mikhail wrote:

I had remove the snprintf declaration from `tiffiop.h` to get it to build in MSVC 2015 SP 2 (community).

Got rid of this:

#if !defined(HAVE_SNPRINTF) && !defined(HAVE__SNPRINTF)
#undef snprintf
#define snprintf _TIFF_snprintf_f

extern int snprintf(char* str, size_t size, const char* format, ...); #endif