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, >> >> >> > 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: expanded from macro 'TV_ETERNITY' >> > >> > Can I ignore this warning even the compile succeed? Thanks for any >> > suggestion. >> >> >> Not sure, could you git bisect this? > > Last change here dates from 2007. Compilers tend to report more and more > warnings in recent versions, and systems use a wide variety of types for > time. > > Igor, could you please confirm that the attached patch fixes the issue ? > If so, I'll merge it. > > Thanks, > Willy >