Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Win32: make buildable with MinGW-w64 gcc

Kouhei Sutou
October 19, 2015 08:02PM
Hi,

In <20151019205435.GV48365@mdounin.ru>
"Re: [PATCH] Win32: make buildable with MinGW-w64 gcc" on Mon, 19 Oct 2015 23:54:35 +0300,
Maxim Dounin <mdounin@mdounin.ru> wrote:

>> The attached patch fixes the following warning:
>>
>> x86_64-w64-mingw32-gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/win32 -I objs \
>> -o objs/src/core/ngx_connection.o \
>> src/core/ngx_connection.c
>> src/core/ngx_connection.c: In function 'ngx_close_idle_connections':
>> src/core/ngx_connection.c:1178:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
>> if (c[i].fd != -1 && c[i].idle) {
>> ^
>> cc1: all warnings being treated as errors
>
> [...]
>
> Thanks, and this manifests itself with MinGW gcc as well.
> Committed with some changes to commit log:
>
> http://hg.nginx.org/nginx/rev/954b67727af3

Thanks for improving my patch!!!

--
kou

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Win32: make buildable with MinGW-w64 gcc

Kouhei Sutou 1147 October 17, 2015 08:46AM

Re: [PATCH] Win32: make buildable with MinGW-w64 gcc

Maxim Dounin 255 October 19, 2015 04:56PM

Re: [PATCH] Win32: make buildable with MinGW-w64 gcc

Kouhei Sutou 251 October 19, 2015 08:02PM



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

Online Users

Guests: 98
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