From b28c3691de529a27198f56f5c4c470ff53249d97 Mon Sep 17 00:00:00 2001 From: Mateusz Loskot Date: Thu, 16 Nov 2006 21:05:58 +0000 Subject: Fixed VC++ 8.0 warnings. git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1376 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- src/emess.c | 9 +++++++++ src/geod.c | 4 ++-- src/makefile.vc | 2 +- src/proj.c | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/emess.c b/src/emess.c index a9ef6dd3..9cb42888 100644 --- a/src/emess.c +++ b/src/emess.c @@ -3,6 +3,15 @@ static const char SCCSID[]="@(#)emess.c 4.6 94/05/24 GIE REL"; #endif +#ifdef _MSC_VER +# ifndef _CRT_SECURE_NO_DEPRECATE +# define _CRT_SECURE_NO_DEPRECATE +# endif +# ifndef _CRT_NONSTDC_NO_DEPRECATE +# define _CRT_NONSTDC_NO_DEPRECATE +# endif +#endif + #include #include #include diff --git a/src/geod.c b/src/geod.c index 9122ac1e..821f6f9a 100644 --- a/src/geod.c +++ b/src/geod.c @@ -2,11 +2,11 @@ static const char SCCSID[]="@(#)geod.c 4.8 95/09/23 GIE REL"; #endif /* <<<< Geodesic filter program >>>> */ -# include -# include # include "projects.h" # include "geodesic.h" # include "emess.h" +# include +# include # include # define MAXLINE 200 diff --git a/src/makefile.vc b/src/makefile.vc index 1d4e6cc0..2928091c 100644 --- a/src/makefile.vc +++ b/src/makefile.vc @@ -5,7 +5,7 @@ # be adjusted. It is also possible to leave this, and define the # PROJ_LIB environment variable to point to the NAD directory. # -PROJ_LIB_DIR=C:/PROJ/NAD +PROJ_LIB_DIR=D:/dev/proj/_cvs/proj/nad # Uncomment the first for an optimized build, or the second for debug. OPTFLAGS= /nologo /Ox /MD diff --git a/src/proj.c b/src/proj.c index d4102734..cdfee821 100644 --- a/src/proj.c +++ b/src/proj.c @@ -2,12 +2,12 @@ #ifndef lint static const char SCCSID[]="@(#)proj.c 4.12 95/09/23 GIE REL"; #endif +#include "projects.h" #include #include #include #include #include -#include "projects.h" #include "emess.h" /* TK 1999-02-13 */ -- cgit v1.2.3