Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tonycoz
Copy link
Contributor

@tonycoz tonycoz commented Jan 11, 2024

I expect this was added when we added our own bool, and before we used bool so liberally ourselves. Now dl_dyld.xs fails to compile, since MY_CXT_CLONE indirectly uses UNLIKELY() which casts to bool.

Tested locally with:

./Configure -des -Dusedevel -Dusethreads -Ddlsrc=dl_dyld.xs

on a modern Darwin, which failed before this change and builds after.

Based on work done by Sevan Janiyan in #21751.

Fixes #21751

I expect this was added when we added our own bool, and before
we used bool so liberally ourselves.  Now dl_dyld.xs fails to
compile, since MY_CXT_CLONE indirectly uses UNLIKELY() which
casts to bool.

Tested locally with:

  ./Configure -des -Dusedevel -Dusethreads -Ddlsrc=dl_dyld.xs

on a modern Darwin, which failed before this change and builds
after.

Based on work done by Sevan Janiyan in Perl#21751.

Fixes Perl#21751
@jkeenan
Copy link
Contributor

jkeenan commented Feb 27, 2024

@sevan, can you take a look at this pull request (as it responds to the issue you raised in #21751)? Thanks.

@sevan
Copy link
Contributor

sevan commented Feb 27, 2024

LGTM. Thanks.

@jkeenan
Copy link
Contributor

jkeenan commented Feb 28, 2024

LGTM. Thanks.

Thanks for checking that. @tonycoz, would you like to proceed with this?

@tonycoz tonycoz merged commit d3f42b8 into Perl:blead Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ext/Dynaloader build fails on OS X 10.3 due to undeclared type
3 participants