Re: yangtse: curl/lib sendf.c,1.125,1.126 sendf.h,1.33,1.34
Date: Wed, 21 Mar 2007 23:53:25 +0000
Daniel Stenberg wrote:
> I think we can leave them, and instead work on improving the header magic
> to hide those warnings since gcc has an extension for it, C99 support it
> and for others I guess we more or less will have to use the empty function
> body version...
If the only problem is the warnings with GCC, why not use
"-Wno-variadic-macros" when the option is available?
It's interesting that GCC uses that option to compile itself, when
strict warnings are enabled.
I'm guessing the "(void)" version of the macro works fine with all
compilers, but the problem being unnecessary strings in the binary on
some of them? I think current GCC doesn't have this problem, and
older GCCs did (2.x era), and that it may be worse on the older GCCs
when an empty inline function is used.
ps. I'm amazed at those download figures for libcurl!
Received on 2007-03-22