Re: Compile warning on OS X

2013-12-15 Thread Cyril Bonté
Hi Willy, Le 13/12/2013 10:45, Willy Tarreau a écrit : Hi Igor, On Fri, Dec 13, 2013 at 05:13:51PM +0800, Igor wrote: Hi, Willy, the patch fixed the reported warning, Thanks for testing! I'm merging it then. but seems introduce new warning, the log: http://pastebin.com/dBfHGV2S No it's

Re: Compile warning on OS X

2013-12-15 Thread Willy Tarreau
Hi Cyril, On Sun, Dec 15, 2013 at 10:39:56PM +0100, Cyril Bonté wrote: Hi Willy, Le 13/12/2013 10:45, Willy Tarreau a écrit : Hi Igor, On Fri, Dec 13, 2013 at 05:13:51PM +0800, Igor wrote: Hi, Willy, the patch fixed the reported warning, Thanks for testing! I'm merging it then. but

Re: Compile warning on OS X

2013-12-13 Thread Willy Tarreau
On Tue, Dec 10, 2013 at 12:13:09AM +0100, Lukas Tribus wrote: Hi Igor, include/common/time.h:111:29: warning: implicit conversion from 'unsigned long' to '__darwin_suseconds_t' (aka 'int') changes value from 18446744073709551615 to -1 [-Wconstant-conversion] tv-tv_sec = tv-tv_usec =

Re: Compile warning on OS X

2013-12-13 Thread Igor
Hi, Willy, the patch fixed the reported warning, but seems introduce new warning, the log: http://pastebin.com/dBfHGV2S Thanks. Bests, -Igor On Fri, Dec 13, 2013 at 4:25 PM, Willy Tarreau w...@1wt.eu wrote: On Tue, Dec 10, 2013 at 12:13:09AM +0100, Lukas Tribus wrote: Hi Igor,

Re: Compile warning on OS X

2013-12-13 Thread Willy Tarreau
Hi Igor, On Fri, Dec 13, 2013 at 05:13:51PM +0800, Igor wrote: Hi, Willy, the patch fixed the reported warning, Thanks for testing! I'm merging it then. but seems introduce new warning, the log: http://pastebin.com/dBfHGV2S No it's not the same. Gcc is getting *really* annoying. It reports

Re: Compile warning on OS X

2013-12-13 Thread Igor
I see, thanks for the very clear explanation. :) Bests, -Igor On Fri, Dec 13, 2013 at 5:45 PM, Willy Tarreau w...@1wt.eu wrote: Hi Igor, On Fri, Dec 13, 2013 at 05:13:51PM +0800, Igor wrote: Hi, Willy, the patch fixed the reported warning, Thanks for testing! I'm merging it then. but

Compile warning on OS X

2013-12-09 Thread Igor
include/common/time.h:111:29: warning: implicit conversion from 'unsigned long' to '__darwin_suseconds_t' (aka 'int') changes value from 18446744073709551615 to -1 [-Wconstant-conversion] tv-tv_sec = tv-tv_usec = TV_ETERNITY; ~ ^~~

RE: Compile warning on OS X

2013-12-09 Thread Lukas Tribus
Hi Igor, include/common/time.h:111:29: warning: implicit conversion from 'unsigned long' to '__darwin_suseconds_t' (aka 'int') changes value from 18446744073709551615 to -1 [-Wconstant-conversion] tv-tv_sec = tv-tv_usec = TV_ETERNITY; ~ ^~~ include/common/time.h:32:26: note:

Re: compile warning

2013-05-23 Thread joris dedieu
2013/5/22 Dmitry Sivachenko trtrmi...@gmail.com: Hello! Hi, When compiling the latest haproxy snapshot on FreeBSD-9 I get the following warning: cc -Iinclude -Iebtree -Wall -O2 -pipe -O2 -fno-strict-aliasing -pipe -DFREEBSD _PORTS-DTPROXY -DCONFIG_HAP_CRYPT -DUSE_GETADDRINFO

Re: compile warning

2013-05-23 Thread Dmitry Sivachenko
On 23.05.2013, at 11:22, joris dedieu joris.ded...@gmail.com wrote: For my part I can't reproduce it. $ uname -a FreeBSD mailhost2 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 $ cc -v

Re: compile warning

2013-05-23 Thread joris dedieu
2013/5/23 Dmitry Sivachenko trtrmi...@gmail.com: On 23.05.2013, at 11:22, joris dedieu joris.ded...@gmail.com wrote: For my part I can't reproduce it. $ uname -a FreeBSD mailhost2 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013

compile warning

2013-05-22 Thread Dmitry Sivachenko
Hello! When compiling the latest haproxy snapshot on FreeBSD-9 I get the following warning: cc -Iinclude -Iebtree -Wall -O2 -pipe -O2 -fno-strict-aliasing -pipe -DFREEBSD _PORTS-DTPROXY -DCONFIG_HAP_CRYPT -DUSE_GETADDRINFO -DUSE_ZLIB -DENABLE_POL L -DENABLE_KQUEUE -DUSE_OPENSSL