RE: [Breakage] Release candidate 2: curl 8.13.0-rc2 on NonStop x86

Randall via curl-library <[email protected]>
Newsgroups gmane.comp.web.curl.library,gmane.comp.web.curl.general
Organization Nexbridge Inc.
Message-ID <[email protected]>
On March 17, 2025 2:43 PM, I wrote:
>On March 17, 2025 11:30 AM, Daniel Stenberg wrote:
>>Hello friends!
>>
>>Welcome to the second 8.13.0 release candidate: rc2.
>>
>>Please try this release candidate in your use cases and products and
>>verify that everything works as intended.
>>
>>Please try the new features and options and verify that they work the
>>way
>they
>>are documented, and maybe also the way you think they should. Features
>>that have not shipped in a release yet can still be marginally tweaked
>>if deemed desirable.
>
>We have a new issue with the rc2:
>
>      br->dtor(CURL_UNCONST(br->ptr));
>               ^
>"/home/jenkinsbuild/.jenkins/workspace/Curl_Pipeline/lib/bufref.c", line
64:
>error(114):
>          identifier "uintptr_t" is undefined
>
>      br->dtor(CURL_UNCONST(br->ptr));
>               ^
>"/home/jenkinsbuild/.jenkins/workspace/Curl_Pipeline/lib/bufref.c", line
64:
>error(123):
>          expected an expression
>
>2 errors detected in the compilation of "bufref.c".
>
>This did not happen in rc1. Please help.

Ok, I figured out what was going on. The uintptr_t typedef was not used in
prior
releases. I had to change the build arguments to make this work. On NonStop,
one needs to define -D__NSK_OPTIONAL_TYPES__ and then the build works.
This was a change compared to rc1, but is fine.

Randall


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.