comparison src/os/win32/ngx_win32_config.h @ 5120:7956af6b6a02

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";
author Valentin Bartenev <vbart@nginx.com>
date Wed, 20 Mar 2013 10:18:26 +0000
parents eaf95350d75c
children 626f288fa5ed
comparison
equal deleted inserted replaced
5119:f10108c92fef 5120:7956af6b6a02
67 /* unreferenced formal parameter */ 67 /* unreferenced formal parameter */
68 #pragma warning(disable:4100) 68 #pragma warning(disable:4100)
69 69
70 /* FD_SET() and FD_CLR(): conditional expression is constant */ 70 /* FD_SET() and FD_CLR(): conditional expression is constant */
71 #pragma warning(disable:4127) 71 #pragma warning(disable:4127)
72
73 /* array is too small to include a terminating null character */
74 #pragma warning(disable:4295)
72 75
73 #endif 76 #endif
74 77
75 78
76 #ifdef __WATCOMC__ 79 #ifdef __WATCOMC__