Suppressing secure string related deprecation warnings

This commit is contained in:
Michael Tryby
2014-05-20 17:06:53 -04:00
parent 0cd38fd697
commit 6d3e790b58
8 changed files with 9 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ execute function x and set the error code equal to its return value.
*******************************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
/*** New compile directives ***/ //(2.00.11 - LR)
//#define CLE /* Compile as a command line executable */

View File

@@ -45,6 +45,7 @@ AUTHOR: L. Rossman
writehydwarn() -- see REPORT.C
*******************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <string.h>

View File

@@ -18,6 +18,7 @@ data describing a piping network to a file in EPANET's text format.
********************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <string.h>

View File

@@ -20,6 +20,7 @@ AUTHOR: L. Rossman
*********************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <stdlib.h>

View File

@@ -24,6 +24,7 @@ The following utility functions are all called from INPUT3.C
**********************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdlib.h>
#include <stdio.h>

View File

@@ -19,6 +19,7 @@ All functions in this module are called from newline() in INPUT2.C.
**********************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdlib.h>
#include <stdio.h>

View File

@@ -24,6 +24,7 @@ formatted string S to the report file.
********************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <string.h>

View File

@@ -22,6 +22,8 @@ AUTHOR: L. Rossman
**********************************************************************
*/
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <string.h>
#include <malloc.h>