curl-library
Re: curl_endian using int64 with out checking curl_config.h
Date: Thu, 15 Jan 2015 17:32:30 -0600
On 1/15/2015 8:49 AM, Daniel Stenberg wrote:
> On Thu, 15 Jan 2015, John E. Malmberg wrote:
>
>> Some curl modules including lib/curl_endian.c are using 64 bit
>> integers with out checking to curl_config.h to see if they are available.
>
> That's a bug we should fix. We should still build and run on 32-bit only
> systems. Can you paste us some compile error to guide us?
CC (opts) SRC_ROOT:[CURL.LIB]CURL_ENDIAN.C;1
unsigned __int64 Curl_read64_le(unsigned char *buf)
^
%CC-E-NOLONGLONG, In this declaration, 64-bit integral types are not
supported on this platform.
Listing line number 27608.
At line number 91 in SRC_ROOT:[CURL.LIB]CURL_ENDIAN.C;1.
unsigned __int64 Curl_read64_be(unsigned char *buf)
^
%CC-E-NOLONGLONG, In this declaration, 64-bit integral types are not
supported on this platform.
Listing line number 27681.
At line number 164 in SRC_ROOT[CURL.LIB]CURL_ENDIAN.C;1.
That is where the build procedure stops.
Regards,
-John
wb8tyw_at_qsl.network
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-01-16