From 8d7cdd184298be68f6864c828ae592656ba6b43c Mon Sep 17 00:00:00 2001 From: jongfoster Date: Sun, 31 Mar 2002 17:19:00 +0000 Subject: [PATCH] Win32 only: Enabling STRICT to fix a VC++ compile warning. --- errlog.c | 8 +++++++- jbsockets.c | 8 +++++++- jcc.c | 8 +++++++- loadcfg.c | 8 +++++++- project.h | 8 +++++++- w32.rc | 10 +++++++++- w32log.c | 8 +++++++- w32taskbar.c | 8 +++++++- win32.c | 8 +++++++- 9 files changed, 65 insertions(+), 9 deletions(-) diff --git a/errlog.c b/errlog.c index ec623b8f..3e08df99 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.36 2002/03/26 22:29:54 swa Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.37 2002/03/27 14:32:43 david__schmidt Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.36 2002/03/26 22:29:54 swa Exp $"; * * Revisions : * $Log: errlog.c,v $ + * Revision 1.37 2002/03/27 14:32:43 david__schmidt + * More compiler warning message maintenance + * * Revision 1.36 2002/03/26 22:29:54 swa * we have a new homepage! * @@ -224,6 +227,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.36 2002/03/26 22:29:54 swa Exp $"; #endif /* def FEATURE_PTHREAD */ #ifdef _WIN32 +#ifndef STRICT +#define STRICT +#endif #include #ifndef _WIN_CONSOLE #include "w32log.h" diff --git a/jbsockets.c b/jbsockets.c index 8a2fed1a..f8cc20c6 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1,4 +1,4 @@ -const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.30 2002/03/27 14:32:43 david__schmidt Exp $"; +const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.31 2002/03/29 03:33:13 david__schmidt Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $ @@ -35,6 +35,9 @@ const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.30 2002/03/27 14:32:43 david_ * * Revisions : * $Log: jbsockets.c,v $ + * Revision 1.31 2002/03/29 03:33:13 david__schmidt + * Fix Mac OSX compiler warnings + * * Revision 1.30 2002/03/27 14:32:43 david__schmidt * More compiler warning message maintenance * @@ -176,6 +179,9 @@ const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.30 2002/03/27 14:32:43 david_ #ifdef _WIN32 +#ifndef STRICT +#define STRICT +#endif #include #include #include diff --git a/jcc.c b/jcc.c index f3cd6e96..c752cd5e 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.87 2002/03/26 22:29:54 swa Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.88 2002/03/27 14:32:43 david__schmidt Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.87 2002/03/26 22:29:54 swa Exp $"; * * Revisions : * $Log: jcc.c,v $ + * Revision 1.88 2002/03/27 14:32:43 david__schmidt + * More compiler warning message maintenance + * * Revision 1.87 2002/03/26 22:29:54 swa * we have a new homepage! * @@ -527,6 +530,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.87 2002/03/26 22:29:54 swa Exp $"; #ifdef _WIN32 # ifndef FEATURE_PTHREAD +# ifndef STRICT +# define STRICT +# endif # include # include # endif /* ndef FEATURE_PTHREAD */ diff --git a/loadcfg.c b/loadcfg.c index 10bba47e..0804b7ef 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.39 2002/03/24 13:25:43 swa Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.40 2002/03/26 22:29:55 swa Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $ @@ -35,6 +35,9 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.39 2002/03/24 13:25:43 swa Exp $" * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.40 2002/03/26 22:29:55 swa + * we have a new homepage! + * * Revision 1.39 2002/03/24 13:25:43 swa * name change related issues * @@ -289,6 +292,9 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.39 2002/03/24 13:25:43 swa Exp $" #ifdef _WIN32 +# ifndef STRICT +# define STRICT +# endif # include # include "win32.h" diff --git a/project.h b/project.h index 6ba5c578..0b7b75e7 100644 --- a/project.h +++ b/project.h @@ -1,6 +1,6 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED -#define PROJECT_H_VERSION "$Id: project.h,v 1.61 2002/03/26 22:29:55 swa Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.62 2002/03/26 22:48:49 swa Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -36,6 +36,9 @@ * * Revisions : * $Log: project.h,v $ + * Revision 1.62 2002/03/26 22:48:49 swa + * new homepage url + * * Revision 1.61 2002/03/26 22:29:55 swa * we have a new homepage! * @@ -454,6 +457,9 @@ * I don't want to have to #include all this just for the declaration * of SOCKET. However, it looks like we have to... */ +#ifndef STRICT +#define STRICT +#endif #include #endif diff --git a/w32.rc b/w32.rc index c8c09af7..20f6a932 100644 --- a/w32.rc +++ b/w32.rc @@ -31,6 +31,9 @@ * * Revisions : * $Log: w32.rc,v $ + * Revision 1.16 2002/03/26 22:57:44 jongfoster + * Web server name should begin www. + * * Revision 1.15 2002/03/24 14:29:25 jongfoster * Renaming icon file * @@ -120,8 +123,13 @@ * *********************************************************************/ -#include #include "config.h" + +#ifndef STRICT +#define STRICT +#endif +#include + #include "w32res.h" #ifdef __MINGW32__ diff --git a/w32log.c b/w32log.c index 0948e4b0..7cb41ffc 100644 --- a/w32log.c +++ b/w32log.c @@ -1,4 +1,4 @@ -const char w32log_rcs[] = "$Id: w32log.c,v 1.22 2002/03/24 12:48:23 jongfoster Exp $"; +const char w32log_rcs[] = "$Id: w32log.c,v 1.23 2002/03/26 22:57:10 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32log.c,v $ @@ -32,6 +32,9 @@ const char w32log_rcs[] = "$Id: w32log.c,v 1.22 2002/03/24 12:48:23 jongfoster E * * Revisions : * $Log: w32log.c,v $ + * Revision 1.23 2002/03/26 22:57:10 jongfoster + * Web server name should begin www. + * * Revision 1.22 2002/03/24 12:48:23 jongfoster * Fixing doc links * @@ -150,6 +153,9 @@ const char w32log_rcs[] = "$Id: w32log.c,v 1.22 2002/03/24 12:48:23 jongfoster E #include #include +#ifndef STRICT +#define STRICT +#endif #include #include diff --git a/w32taskbar.c b/w32taskbar.c index b4ff9241..721ad08e 100644 --- a/w32taskbar.c +++ b/w32taskbar.c @@ -1,4 +1,4 @@ -const char w32taskbar_rcs[] = "$Id: w32taskbar.c,v 1.5 2002/03/24 12:03:47 jongfoster Exp $"; +const char w32taskbar_rcs[] = "$Id: w32taskbar.c,v 1.6 2002/03/26 22:57:10 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/w32taskbar.c,v $ @@ -32,6 +32,9 @@ const char w32taskbar_rcs[] = "$Id: w32taskbar.c,v 1.5 2002/03/24 12:03:47 jongf * * Revisions : * $Log: w32taskbar.c,v $ + * Revision 1.6 2002/03/26 22:57:10 jongfoster + * Web server name should begin www. + * * Revision 1.5 2002/03/24 12:03:47 jongfoster * Name change * @@ -55,6 +58,9 @@ const char w32taskbar_rcs[] = "$Id: w32taskbar.c,v 1.5 2002/03/24 12:03:47 jongf #include +#ifndef STRICT +#define STRICT +#endif #include #include "w32taskbar.h" diff --git a/win32.c b/win32.c index d9fcec3f..9db1ed1b 100644 --- a/win32.c +++ b/win32.c @@ -1,4 +1,4 @@ -const char win32_rcs[] = "$Id: win32.c,v 1.7 2002/03/24 12:03:47 jongfoster Exp $"; +const char win32_rcs[] = "$Id: win32.c,v 1.8 2002/03/26 22:57:10 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/win32.c,v $ @@ -31,6 +31,9 @@ const char win32_rcs[] = "$Id: win32.c,v 1.7 2002/03/24 12:03:47 jongfoster Exp * * Revisions : * $Log: win32.c,v $ + * Revision 1.8 2002/03/26 22:57:10 jongfoster + * Web server name should begin www. + * * Revision 1.7 2002/03/24 12:03:47 jongfoster * Name change * @@ -70,6 +73,9 @@ const char win32_rcs[] = "$Id: win32.c,v 1.7 2002/03/24 12:03:47 jongfoster Exp /* Uncomment this if you want to build Win32 as a console app */ /* #define _WIN_CONSOLE */ +#ifndef STRICT +#define STRICT +#endif #include #include -- 2.39.2