diff options
| author | Mateusz Loskot <mateusz@loskot.net> | 2006-11-16 21:05:58 +0000 |
|---|---|---|
| committer | Mateusz Loskot <mateusz@loskot.net> | 2006-11-16 21:05:58 +0000 |
| commit | b28c3691de529a27198f56f5c4c470ff53249d97 (patch) | |
| tree | 52db7e05f7deb69acfb7a75d42340e2c55687a33 /src | |
| parent | 94a57c7b49bd5b5a8c9f80e6739c140c243a781c (diff) | |
| download | PROJ-b28c3691de529a27198f56f5c4c470ff53249d97.tar.gz PROJ-b28c3691de529a27198f56f5c4c470ff53249d97.zip | |
Fixed VC++ 8.0 warnings.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1376 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
| -rw-r--r-- | src/emess.c | 9 | ||||
| -rw-r--r-- | src/geod.c | 4 | ||||
| -rw-r--r-- | src/makefile.vc | 2 | ||||
| -rw-r--r-- | src/proj.c | 2 |
4 files changed, 13 insertions, 4 deletions
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 <stdio.h> #include <stdlib.h> #include <stdarg.h> @@ -2,11 +2,11 @@ static const char SCCSID[]="@(#)geod.c 4.8 95/09/23 GIE REL"; #endif /* <<<< Geodesic filter program >>>> */ -# include <ctype.h> -# include <stdio.h> # include "projects.h" # include "geodesic.h" # include "emess.h" +# include <ctype.h> +# include <stdio.h> # include <string.h> # 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 @@ -2,12 +2,12 @@ #ifndef lint static const char SCCSID[]="@(#)proj.c 4.12 95/09/23 GIE REL"; #endif +#include "projects.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <math.h> -#include "projects.h" #include "emess.h" /* TK 1999-02-13 */ |
