On Thu, Oct 01, 2015 at 10:15:12AM -0700, Guy Harris wrote:
> 
> On Oct 1, 2015, at 9:53 AM, Alexis La Goutte <alexis.lagou...@gmail.com> 
> 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-macros]
> 
> Perhaps we need to turn on the "use C99" flag for some compilers,
> including, but not limited to, GCC-compatible compilers, to suppress
> warnings or even errors.

The feature seems supported even in c90 mode on gcc 5.2.0 and clang
3.7.0. After reading the gcc manual page, I've decided to settle with
-Wno-variadic-macros.

Patch is at https://code.wireshark.org/review/10781
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to