Welcome! Log In Create A New Profile

Advanced

[nginx] Win32: removed misleading comment about warnings being disabled.

Sergey Kandaurov
September 07, 2022 08:36AM
details: https://hg.nginx.org/nginx/rev/d1aa8cc3e387
branches:
changeset: 8066:d1aa8cc3e387
user: Maxim Dounin <mdounin@mdounin.ru>
date: Wed Sep 07 00:47:02 2022 +0300
description:
Win32: removed misleading comment about warnings being disabled.

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

diffstat:

src/os/win32/ngx_win32_config.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diffs (12 lines):

diff -r 0ce2d7a520be -r d1aa8cc3e387 src/os/win32/ngx_win32_config.h
--- a/src/os/win32/ngx_win32_config.h Wed Sep 07 00:44:10 2022 +0300
+++ b/src/os/win32/ngx_win32_config.h Wed Sep 07 00:47: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)

_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[nginx] Win32: removed misleading comment about warnings being disabled.

Sergey Kandaurov 314 September 07, 2022 08:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready