Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use invokelatest to access bindings generated with Core.eval #468

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

benlorenz
Copy link
Contributor

@benlorenz benlorenz commented Jan 28, 2025

To fix these warnings (future errors) during precompilation on julia nightly:

┌ CxxWrap
│  WARNING: Detected access to binding `StdLib.__cxxwrap_pointers` in a world prior to its definition world.
│    Julia 1.12 has introduced more strict world age semantics for global bindings.
│    !!! This code may malfunction under Revise.
│    !!! This code will error in future versions of Julia.
│  Hint: Add an appropriate `invokelatest` around the access to this binding.
│  WARNING: Detected access to binding `StdLib.__cxxwrap_methodkeys` in a world prior to its definition world.
│    Julia 1.12 has introduced more strict world age semantics for global bindings.
│    !!! This code may malfunction under Revise.
│    !!! This code will error in future versions of Julia.
│  Hint: Add an appropriate `invokelatest` around the access to this binding.
└  

cc: @fingolfin

Depending on the timeline for 0.17 it might be good to have this in a 0.16.1 release as well.

to fix warnings (future errors) on nightly
@benlorenz benlorenz marked this pull request as ready for review January 28, 2025 15:16
@barche barche merged commit d9463d6 into JuliaInterop:main Jan 29, 2025
11 checks passed
@barche
Copy link
Collaborator

barche commented Jan 29, 2025

Thanks! I should indeed make work of the 0.17 release.

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.

2 participants