| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: curl_easy_setopt() typechecker, try2
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Feb 2008 11:39:06 +0100 (CET)
On Tue, 26 Feb 2008, Michal Marek wrote:
> I split the patch into the typechecker itself and a patch that silences the
Thanks, I committed the warnings fix.
> I omitted warnings about passing int instead of long for now, because I'm
For platforms where ints and longs are of the same size, I don't think they
> It's still C only, I want to tackle issues with the C version first
I applied the patch locally and I installed gcc 4.3 for the purpose of testing
For debugging, I added a line in curl/curl.h that defines CURL_TYPECHECKED if
curl_easy_setopt(curl, CURLOPT_URL, 2);
... without getting a warning out of this!
Can this kind of warning somehow be disabled in gcc (I'm using a Debian
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-02-27 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info