diff src/os/win32/ngx_win32_config.h @ 499:64d9afb209da release-0.1.24

nginx-0.1.24-RELEASE import *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Mar 2005 14:06:57 +0000
parents 975f62e77f02
children d4ea69372b94
line wrap: on
line diff
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -40,8 +40,10 @@
 
 /* disable some "-W4" level warnings */
 
-/* disable warnings about some 'type cast */
+/* 'type cast': from function pointer to data pointer */
 #pragma warning(disable:4054)
+
+/* 'type cast': from data pointer to function pointer */
 #pragma warning(disable:4055)
 
 /* unreferenced formal parameter */
@@ -56,34 +58,48 @@
 /* assignment within conditional expression */
 #pragma warning(disable:4706)
 
-/* disable "function 'ngx_handle_write_event' not inlined" */
+/* function 'ngx_handle_write_event' not inlined */
 #pragma warning(disable:4710)
 
 #endif
 
 
 #ifdef __WATCOMC__
+
 /* unreachable code */
 #pragma disable_message(201)
-/* disable "Symbol 'ngx_rbtree_min' has been defined, but not referenced" */
+
+/* symbol 'ngx_rbtree_min' has been defined, but not referenced */
 #pragma disable_message(202)
+
 #endif
 
 
 #ifdef __BORLANDC__
+
 /* the end of the precompiled headers */
 #pragma hdrstop
 
+/*
+ * 'fd' is assigned a value that is never used in function ngx_event_init_conf
+ */
+#pragma warn -8004
+
+/* condition is always false */
+#pragma warn -8008
+
+/* functions containing (for|while|some if) are not expanded inline */
 #pragma warn -8027
+
+/* unreferenced formal parameter */
 #pragma warn -8057
+
+/* assignment within conditional expression */
 #pragma warn -8060
 
-/* STUB */
-#pragma warn -8004
-#pragma warn -8008
-#pragma warn -8065
+/* unreachable code */
 #pragma warn -8066
-#pragma warn -8075
+
 #endif
 
 
@@ -96,7 +112,8 @@
 #ifdef _MSC_VER
 typedef unsigned __int32  uint32_t;
 typedef __int32           int32_t;
-#else /* __WATCOMC__ */
+
+#else /* __WATCOMC__ and __BORLANDC__ */
 typedef unsigned int      uint32_t;
 typedef int               int32_t;
 #endif