Cygwin/GCC nginx-0.7.47 error: array subscript is above array bounds

郭振立 www at lc365.net
Mon Apr 6 09:25:20 MSD 2009


gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable -Wunused-value -Werror -D FD_SETSIZE=9999999 -O5 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
                -o objs/src/http/ngx_http_file_cache.o \
                src/http/ngx_http_file_cache.c
cc1: warnings being treated as errors
src/http/ngx_http_file_cache.c: In function 'ngx_http_file_cache_set_slot':
src/http/ngx_http_file_cache.c:1368: error: array subscript is above array bounds
src/http/ngx_http_file_cache.c:1369: error: array subscript is above array bounds
make[1]: *** [objs/src/http/ngx_http_file_cache.o] Error 1

 

Under Cygwin 1.7.0 & GCC 4.4, nginx version is 0.7.47.

nginx 0.7.46 has the same errors.

_________________________________________________________________
Messenger安全保护中心,免费修复系统漏洞,保护Messenger安全!
http://im.live.cn/safe/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090406/c3d0df5f/attachment.html>


More information about the nginx mailing list