> On Oct 4, 2015, at 7:41 AM, Peter Wu wrote:
>
> 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 vari
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
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-macros]
Perhaps we need to turn on the "use C99" flag for some compilers, includi
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]
Not problem for me, to allow variadic macro !
Regards,
On Thu, Oct 1, 2015 at 6:31 PM, Graham Bloice
wrote:
>
> On 1 October 2015 a
On 1 October 2015 at 17:25, Peter Wu wrote:
> #include
> #define FOO(fmt, ...) printf(fmt, #__VA_ARGS__, __VA_ARGS__)
> int main() {
> return FOO("%s test %d\n", 1);
> }
>
VS2013 appears to be happy, compiling the file with a .c extension:
c:\temp>cl var.c
Microsoft (R) C/C++
On Sun, Sep 23, 2012 at 6:10 PM, Guy Harris wrote:
>
> On Sep 23, 2012, at 1:59 PM, Evan Huus wrote:
>
>> Variadic macros are forbidden in doc/README.developer since apparently
>> not all compilers support them.
>>
>> However, I just stumbled across a variadic macro that has apparently
>> been pa
On Sep 23, 2012, at 1:59 PM, Evan Huus wrote:
> Variadic macros are forbidden in doc/README.developer since apparently
> not all compilers support them.
>
> However, I just stumbled across a variadic macro that has apparently
> been part of the regular build since around 2009
> (packet-dcerpc-n