[PATCH 1 of 3] Win32: removed misleading comment about warnings being disabled

Maxim Dounin mdounin at mdounin.ru
Thu Sep 1 16:49:05 UTC 2022


# HG changeset patch
# User Maxim Dounin <mdounin at mdounin.ru>
# Date 1662050702 -10800
#      Thu Sep 01 19:45:02 2022 +0300
# Node ID 3d162f4c6f62b23d4906d2afaabcd8c2720fb12a
# Parent  553e7e669cfd55c9371a03c5c87e626fd9d2f773
Win32: removed misleading comment about warnings being disabled.

Warnings being disabled are not only from the "-W4" level since e4590dfd97ff.

diff -r 553e7e669cfd -r 3d162f4c6f62 src/os/win32/ngx_win32_config.h
--- a/src/os/win32/ngx_win32_config.h	Mon Aug 22 02:37:04 2022 +0300
+++ b/src/os/win32/ngx_win32_config.h	Thu Sep 01 19:45:02 2022 +0300
@@ -80,8 +80,6 @@ typedef long  time_t;
 
 #pragma warning(default:4201)
 
-/* disable some "-W4" level warnings */
-
 /* 'type cast': from function pointer to data pointer */
 #pragma warning(disable:4054)
 



More information about the nginx-devel mailing list