Skip to content

Conversation

@halleysfifthinc
Copy link
Contributor

Julia 1.12 headers produce compiler warnings about unused parameters (in the
jl_gc_wb_fresh and jl_gc_wb_knownold) functions. These warnings are not useful/relevant
to people building libcxxwrap.

Adding the SYSTEM property to the Julia header include directory tells CMake to silence
warnings from headers in that directory(s).

@barche barche merged commit eef921c into JuliaInterop:main Dec 25, 2025
11 checks passed
@barche
Copy link
Contributor

barche commented Dec 25, 2025

Thanks, I had no idea this option existed!

@halleysfifthinc halleysfifthinc deleted the silence-juliaheader-warnings branch December 29, 2025 19:24
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