curl-library
Re: Two build warnings for Debian Jessie 8 amd64 and mingw32
Date: Mon, 11 Jan 2016 00:09:42 +0100 (CET)
On Sun, 10 Jan 2016, Thomas Glanzmann wrote:
> tool_operate.c:832:9: note: in expansion of macro 'my_setopt'
> my_setopt(curl, CURLOPT_SEEKFUNCTION, tool_seek_cb);
> ^
I really can't figure out this warning... tool_seek_cb seems to be using a
prototype matching the 'curl_seek_callbacck' typedef!
> formdata.c: In function 'FormAdd':
> formdata.c:390:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
> array_state?(curl_off_t)array_value:va_arg(params, curl_off_t);
> ^
Yeah, this is seen on other win32 builds too, like this:
http://curl.haxx.se/dev/log.cgi?id=20160110224429-13344#prob1
We probably need to add some creative juggling of the data types there...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2016-01-11