cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: yangtse: curl/lib sendf.c,1.125,1.126 sendf.h,1.33,1.34

From: Jamie Lokier <jamie_at_shareable.org>
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.

-- Jamie

ps. I'm amazed at those download figures for libcurl!
Received on 2007-03-22

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET