curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: [RELEASE] curl 7.86.0

From: Randall via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 26 Oct 2022 10:07:41 -0400

On October 26, 2022 9:32 AM, Daniel Stenberg wrote:
>On Wed, 26 Oct 2022, rsbecker_at_nexbridge.com wrote:
>
>>> The curl_off_t type is determined in the curl/curl.h header but
>>> seeing this output above, it seems to indicate that it needs
>>> adjustment for HPE NonStop.
>>
>> The c99 interpretation of long long in 32-bit compiles is 64 bits,
>> while size_t and related offsets is 32-bits. I don't think it is
>> possible to fix this, because the interpretation is correct. What is
>> the principle of the fix required?
>
>To make sure curl_off_t is typedefed to a 'long long' on your platform.

Snippet to do that:

#if defined __TANDEM
typedef long long curl_off_t;
#endif

Best place to do that? In configure or just curl.h?

-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-10-26