cURL / Mailing Lists / curl-library / Single Mail


Re: Two build warnings for Debian Jessie 8 amd64 and mingw32

From: Daniel Stenberg <>
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:

We probably need to add some creative juggling of the data types there...

List admin:
Received on 2016-01-11