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 15:42 "Re: [Tiff] snprintf and MSVC 2015", by Bob Friesenhahn
- 2016.05.09 16:38 "Re: [Tiff] snprintf and MSVC 2015", by
-
2016.05.09 15:31 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
2016.05.09 12:36 "Re: [Tiff] snprintf and MSVC 2015", by Edward Lam
On 09/05/2016 2: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_fextern int snprintf(char* str, size_t size, const char* format, ...); #endif
So it appears that in 2015 now, MSVC has implemented snprintf(). Not only does this part need to be ifdef'ed out for _MSC_VER >= 1900, libport also needs to be correspondingly modified. :(
-Edward