cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Jamie Lokier <jamie_at_shareable.org>
Date: Thu, 22 Mar 2007 00:53:54 +0000

Dan Fandrich wrote:
> On Wed, Mar 21, 2007 at 11:53:25PM +0000, Jamie Lokier wrote:
> > If the only problem is the warnings with GCC, why not use
> > "-Wno-variadic-macros" when the option is available?
>
> That option isn't supported by gcc 2.96, at least. gcc 4.1 doesn't give
> any warnings at all.

GCC 2.96 doesn't have the warning, either.

But the option was introduced in GCC 4.0, and the warning is in GCC
3.3 (always have multiple GCC source trees handy ;-), so that's not a
complete solution.

GCC 4.1 _does_ produce that warning in general, but perhaps something
in libcurl's build process suppresses it.

-- Jamie
Received on 2007-03-22