]> git.kaiwu.me - nginx.git/commit
Win32: Borland C compatibility fixes.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Sep 2013 16:48:23 +0000 (20:48 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Sep 2013 16:48:23 +0000 (20:48 +0400)
commit74b7a910137a99b5fb073e7c27858c019f96a8cc
tree00d2621de512d3cbae54c9e7a839e84df4825ba8
parent5b3785232303f9c44543b20e1499c756462c53e6
Win32: Borland C compatibility fixes.

Several false positive warnings silenced, notably W8012 "Comparing
signed and unsigned" (due to u_short values promoted to int), and
W8072 "Suspicious pointer arithmetic" (due to large type values added
to pointers).

With this patch, it's now again possible to compile nginx using bcc32,
with options we normally compile on win32 minus ipv6 and ssl.
auto/lib/pcre/makefile.bcc
src/event/ngx_event_accept.c
src/http/modules/ngx_http_memcached_module.c
src/http/modules/ngx_http_mp4_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_upstream_ip_hash_module.c
src/http/ngx_http_file_cache.c
src/http/ngx_http_request_body.c
src/os/win32/ngx_win32_config.h