[Wireshark-dev] FILETIME to nstime_t conversions gives a warning

2015-10-04 Thread Peter Wu
Hi, I am getting these compile warnings using Clang 3.7.0: wsutil/nstime.c:235:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] time_t l_time_min = TIME_T_MIN; ^~ wsutil/nstime.c:223:36: note: expanded from ma

Re: [Wireshark-dev] Use of variadic macros

2015-10-04 Thread Peter Wu
On Thu, Oct 01, 2015 at 10:15:12AM -0700, Guy Harris wrote: > > On Oct 1, 2015, at 9:53 AM, Alexis La Goutte > wrote: > > > Yes, there is a "warning" with GCC from some month... > > > > ../../epan/proto.h:2740:54: warning: anonymous variadic macros were > > introduced in C99 [-Wvariadic-macro