Got rid of warnings on windows.
This commit is contained in:
parent
22ec832640
commit
b5404d5907
6 changed files with 14 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ typedef __int64 ulongint; /* HACK ALERT */
|
|||
// warning C4101: 'xxx' : unreferenced local variable
|
||||
#pragma warning(disable:4244)
|
||||
#pragma warning(disable:4101)
|
||||
#pragma warning(disable:4554)
|
||||
#endif
|
||||
|
||||
//typedef long int integer;
|
||||
|
|
|
|||
|
|
@ -108,7 +108,9 @@ extern void f_init(void);
|
|||
extern int (*f__donewrec)(void), t_putc(int), x_wSL(void);
|
||||
extern void b_char(char*,char*,ftnlen), g_char(char*,ftnlen,char*);
|
||||
extern int c_sfe(cilist*), z_rnew(void);
|
||||
#ifndef WIN32
|
||||
extern int isatty(int);
|
||||
#endif
|
||||
extern int err__fl(int,int,char*);
|
||||
extern int xrd_SL(void);
|
||||
extern int f__putbuf(int);
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
#ifdef KR_headers
|
||||
extern char *F77_aloc(), *getenv();
|
||||
#else
|
||||
#undef min
|
||||
#undef max
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -75,8 +75,10 @@ un_getc(int x, FILE *f__cf)
|
|||
#ifdef KR_headers
|
||||
extern int ungetc();
|
||||
#else
|
||||
#ifndef WIN32
|
||||
extern int ungetc(int, FILE*); /* for systems with a buggy stdio.h */
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -66,8 +66,10 @@ un_getc(int x, FILE *f__cf)
|
|||
{ return ungetc(x,f__cf); }
|
||||
#else
|
||||
#define un_getc ungetc
|
||||
#ifndef WIN32
|
||||
extern int ungetc(int, FILE*); /* for systems with a buggy stdio.h */
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static Vardesc *
|
||||
|
|
|
|||
|
|
@ -19,7 +19,11 @@ extern "C" {
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern int getpid(void), isatty(int), pause(void);
|
||||
extern int getpid(void);
|
||||
#ifndef WIN32
|
||||
extern int isatty(int);
|
||||
#endif
|
||||
extern int pause(void);
|
||||
#endif
|
||||
|
||||
extern VOID f_exit(Void);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue