Received: from lists.maptools.org (ks365428.kimsufi.com [94.23.4.142])
	by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id u49E3Siw016859
	for <bfriesen@simple.dallas.tx.us>; Mon, 9 May 2016 09:03:28 -0500 (CDT)
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 41A7C35C03B;
	Mon,  9 May 2016 09:03:27 -0500 (EST)
Received: from qproxy5-pub.mail.unifiedlayer.com
	(qproxy5-pub.mail.unifiedlayer.com [69.89.21.30])
	by lists.maptools.org (Postfix) with SMTP id 4F04F35C03B
	for <tiff@lists.maptools.org>; Mon,  9 May 2016 09:03:19 -0500 (EST)
Received: (qmail 6658 invoked by uid 0); 9 May 2016 14:03:16 -0000
Received: from unknown (HELO cmgw2) (10.0.90.83)
	by qproxy5.mail.unifiedlayer.com with SMTP; 9 May 2016 14:03:16 -0000
Received: from host312.hostmonster.com ([74.220.215.112]) by cmgw2 with 
	id sDj91s00p2S4nT601DjC9Q; Mon, 09 May 2016 07:43:15 -0600
X-Authority-Analysis: v=2.1 cv=Nal1iQz4 c=1 sm=1 tr=0
	a=X4nMPfQIxM5RzWZrRv86zw==:117 a=X4nMPfQIxM5RzWZrRv86zw==:17
	a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10
	a=E9vIkSTtX0AA:10 a=3uzPogi06CkA:10 a=yrkiwgmsf1kA:10 a=m5VVNtrOAAAA:8
	a=CNZf8XGFAAAA:8 a=ydek6E3GALfhm9l8mrQA:9 a=pILNOxqGKmIA:10
	a=RDGi6WOvvPkA:10
	a=-FEs8UIgK8oA:10 a=NWVoK91CQyQA:10 a=LT11QdPNj82VaJnShUZO:22
	a=pYY9omn_XfkPtYk13GqU:22
Received: from [71.7.147.72] (port=50669 helo=Jeffs-MacBook-Pro.local)
	by host312.hostmonster.com with esmtpsa
	(TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2)
	(envelope-from <jmckenna@gatewaygeomatics.com>) id 1azlSp-0007ZA-AV
	for tiff@lists.maptools.org; Mon, 09 May 2016 07:43:11 -0600
To: tiff@lists.maptools.org
References: <1f558d54-6b57-fb07-835a-a694cfe34752@illinois.edu>
From: Jeff McKenna <jmckenna@gatewaygeomatics.com>
Message-ID: <958e4ccb-e8b2-5a29-7d07-e0defd9850fe@gatewaygeomatics.com>
Date: Mon, 9 May 2016 10:43:08 -0300
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0)
	Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <1f558d54-6b57-fb07-835a-a694cfe34752@illinois.edu>
X-Identified-User: {1052:host312.hostmonster.com:gatewayg:gatewaygeomatics.com}
	{sentby:smtp auth 71.7.147.72 authed with
	jmckenna@gatewaygeomatics.com}
Subject: Re: [Tiff] snprintf and MSVC 2015
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (smtp.simplesystems.org [65.66.246.90]); Mon, 09 May 2016 09:03:29 -0500 (CDT)
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4
Status: RO
X-Status: 
X-Keywords:                 
X-UID: 9

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:
> 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
>


_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/

