From eea7cb31f7081cfa19943db03f0b1c0ca0cbd995 Mon Sep 17 00:00:00 2001 From: robs Date: Mon, 26 Mar 2001 15:23:02 +0000 Subject: [PATCH] Add pragma to disable some level 4 compile warnings under Win32. --- fcgi_buf.c | 8 ++++++-- fcgi_protocol.c | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/fcgi_buf.c b/fcgi_buf.c index 33cc072..8f0021c 100644 --- a/fcgi_buf.c +++ b/fcgi_buf.c @@ -1,9 +1,13 @@ /* - * $Id: fcgi_buf.c,v 1.10 2001/03/06 12:57:33 robs Exp $ + * $Id: fcgi_buf.c,v 1.11 2001/03/26 15:23:02 robs Exp $ */ #include "fcgi.h" +#ifdef WIN32 +#pragma warning( disable : 4127 ) +#endif + /******************************************************************************* * Check buffer consistency with assertions. */ @@ -177,7 +181,7 @@ int fcgi_buf_add_fd(Buffer *buf, int fd) int status; int numFDs = fd + 1; struct timeval timeOut; - + FD_ZERO(&read_set); FD_SET(fd, &read_set); diff --git a/fcgi_protocol.c b/fcgi_protocol.c index bcd1fc8..4e67d66 100644 --- a/fcgi_protocol.c +++ b/fcgi_protocol.c @@ -1,11 +1,15 @@ /* - * $Id: fcgi_protocol.c,v 1.18 2000/06/06 14:18:54 robs Exp $ + * $Id: fcgi_protocol.c,v 1.19 2001/03/26 15:23:24 robs Exp $ */ #include "fcgi.h" #include "fcgi_protocol.h" +#ifdef WIN32 +#pragma warning( disable : 4706) +#endif + /******************************************************************************* * Build and queue a FastCGI message header. It is the caller's * responsibility to make sure that there's enough space in the buffer, and -- 2.11.4.GIT