use /EHsc and -D_CRT_SECURE_NO_DEPRECATE for VS2005 support

This commit is contained in:
Frank Warmerdam 2006-04-19 01:14:00 +00:00
parent afc7488f13
commit 58cea4d46c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-04-18 Frank Warmerdam <warmerdam@pobox.com>
* nmake.opt: use /EHsc for VS2005 compatibility. Also define
_CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
2006-04-12 Joris Van Damme <joris.at.lebbeke@skynet.be>
* libtiff/tif_getimage.c: Added support for planarconfig separate

View File

@ -1,4 +1,4 @@
# $Id: nmake.opt,v 1.16 2006-03-23 14:54:01 dron Exp $
# $Id: nmake.opt,v 1.17 2006-04-19 01:14:00 fwarmerdam Exp $
#
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
#
@ -110,9 +110,9 @@ CHECK_JPEG_YCBCR_SUBSAMPLING = 1
#
# Pick debug or optimized build flags. We default to an optimized build
# with no debugging information.
# NOTE: /GX option required if you want to build the C++ stream API
# NOTE: /EHsc option required if you want to build the C++ stream API
#
OPTFLAGS = /Ox /MD /GX /W3
OPTFLAGS = /Ox /MD /EHsc /W3 /D_CRT_SECURE_NO_DEPRECATE
#OPTFLAGS = /Zi
#