diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-03-04 14:06:57 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-03-04 14:06:57 +0000 |
commit | 8184d1b3a72c31e7e6492fc189d687ce85548279 (patch) | |
tree | 34e977c47f852d35117464b3cd5e82253fb4fa04 /src/os/win32/ngx_win32_config.h | |
parent | 7ad4a94eee3e17e073d6e8b638b7bd0a2209d2df (diff) | |
download | nginx-8184d1b3a72c31e7e6492fc189d687ce85548279.tar.gz nginx-8184d1b3a72c31e7e6492fc189d687ce85548279.zip |
nginx-0.1.24-RELEASE importrelease-0.1.24
*) 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.
Diffstat (limited to 'src/os/win32/ngx_win32_config.h')
-rw-r--r-- | src/os/win32/ngx_win32_config.h | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index 5bdf91f66..36af23906 100644 --- 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 |