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 06:48 "[Tiff] snprintf and MSVC 2015", by Mikhail

Hi Folks,

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