Commit a56e526671f9d124744de69760e86543cb4c52e2

Werner Lemberg 2008-03-23T14:53:44

Adjustments for Visual C++ 8.0, as reported by Rainer Deyke. * builds/compiler/visualc.mk (CFLAGS): Remove /W5. (ANSIFLAGS): Add _CRT_SECURE_NO_DEPRECATE.

diff --git a/ChangeLog b/ChangeLog
index 3e6fe3c..061475f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-03-23  Werner Lemberg  <wl@gnu.org>
+
+	Adjustments for Visual C++ 8.0, as reported by Rainer Deyke.
+
+	* builds/compiler/visualc.mk (CFLAGS): Remove /W5.
+	(ANSIFLAGS): Add _CRT_SECURE_NO_DEPRECATE.
+
 2008-03-21  Laurence Darby  <ldarby>
 
 	* src/type1/t1objs.c (T1_Face_Init): Use `/Weight'.  Patch from
diff --git a/builds/compiler/visualc.mk b/builds/compiler/visualc.mk
index 49c446f..2e19ef8 100644
--- a/builds/compiler/visualc.mk
+++ b/builds/compiler/visualc.mk
@@ -3,7 +3,7 @@
 #
 
 
-# Copyright 1996-2000, 2003, 2005, 2006 by
+# Copyright 1996-2000, 2003, 2005, 2006, 2008 by
 # David Turner, Robert Wilhelm, and Werner Lemberg.
 #
 # This file is part of the FreeType project, and may only be used, modified,
@@ -66,11 +66,11 @@ TE := /Fe
 #   Use the ANSIFLAGS variable to define the compiler flags used to enfore
 #   ANSI compliance.
 #
-CFLAGS ?= /nologo /c /Ox /G5 /W3 /WX
+CFLAGS ?= /nologo /c /Ox /W3 /WX
 
 # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
 #
-ANSIFLAGS := /Za
+ANSIFLAGS := /Za /D_CRT_SECURE_NO_DEPRECATE
 
 
 # Library linking