ref: a56e526671f9d124744de69760e86543cb4c52e2
parent: 8575117c5077e6aeb64a59870a6bbe3aef6e68ab
author: Werner Lemberg <[email protected]>
date: Sun Mar 23 10:53:44 EDT 2008
Adjustments for Visual C++ 8.0, as reported by Rainer Deyke. * builds/compiler/visualc.mk (CFLAGS): Remove /W5. (ANSIFLAGS): Add _CRT_SECURE_NO_DEPRECATE.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-03-23 Werner Lemberg <[email protected]>
+
+ 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
--- 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 @@
# 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