mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
Win32: disabled MSVC warning about '\0' not fitting into array.
We believe that this warning produces more inconvience than real benefit. Here is an example to trigger: u_char a[4] = "test";
This commit is contained in:
parent
fb6f8c4509
commit
cf64a6c536
@ -70,6 +70,9 @@ typedef long time_t;
|
|||||||
/* FD_SET() and FD_CLR(): conditional expression is constant */
|
/* FD_SET() and FD_CLR(): conditional expression is constant */
|
||||||
#pragma warning(disable:4127)
|
#pragma warning(disable:4127)
|
||||||
|
|
||||||
|
/* array is too small to include a terminating null character */
|
||||||
|
#pragma warning(disable:4295)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user