<div>OpenSUSE 11.4  using clang</div><div><br></div>warning  : <div><br></div><div><div>src/core/nginx.c:487:37: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds]</div>
<div>        if (ngx_strcmp(var[i].data, "TZ") == 0</div><div>            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~</div><div>src/core/ngx_string.h:57:70: note: expanded from:</div><div>#define ngx_strcmp(s1, s2)  strcmp((const char *) s1, (const char *) s2)</div>
<div>                                                                     ^</div><div>/usr/include/bits/string2.h:817:28: note: expanded from:</div><div>               : __strcmp_gc (s1, s2, __s2_len))                              \</div>
<div>                                  ^</div><div>/usr/include/bits/string2.h:911:27: note: expanded from:</div><div>                                    (__const char *) (s2))[3]);               \</div><div>                                                      ^    ~</div>
<div>1 warning generated.</div><div>src/core/ngx_file.c:384:27: warning: array index of '3' indexes past the end of an array (that contains 3 elements) [-Warray-bounds]</div><div>        if (ngx_strcmp(p, "rw") == 0) {</div>
<div>            ~~~~~~~~~~~~~~^~~~~</div><div>src/core/ngx_string.h:57:70: note: expanded from:</div><div>#define ngx_strcmp(s1, s2)  strcmp((const char *) s1, (const char *) s2)</div><div>                                                                     ^</div>
<div>/usr/include/bits/string2.h:817:28: note: expanded from:</div><div>               : __strcmp_gc (s1, s2, __s2_len))                              \</div><div>                                  ^</div><div>/usr/include/bits/string2.h:911:27: note: expanded from:</div>
<div>                                    (__const char *) (s2))[3]);               \</div><div>                                                      ^    ~</div><div>src/core/ngx_file.c:387:34: warning: array index of '2' indexes past the end of an array (that contains 2 elements) [-Warray-bounds]</div>
<div>        } else if (ngx_strcmp(p, "r") == 0) {</div><div><br></div><div>.... and more ....</div>-- <br>Wendal Chen<br>GuangDong China<br>
</div>