cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_setopt() typechecker, try2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Mar 2008 13:29:31 +0100 (CET)

On Sun, 2 Mar 2008, Michal Marek wrote:

>> On x86_64 Linux, the calling convention is that up to the first six
>> arguments that are <= 64 bits are extended to 64 bits
>
> IIRC at least ppc64 and s390x linux are similar in that regard. That's why I
> was thinking about tolerating int for the options that use long and perhaps
> making it stricter later (based on the expectation that if Joe random
> programmer all of sudden gets 50 new warnings from libcurl headers, 47 of
> those warning about rather academical problems from his POV, he'll likely
> ignore them all).

Yes, I agree with this. Spewing out lots of warnings that the majority of
users will not care about isn't really good. We can always bring them back
if this turns out to be a real issue for someone in the future.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-03