Skip to content

Commit

Permalink
Fix precompilation warnings downstream
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Jan 1, 2024
1 parent fbee1ca commit 985c968
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Polymake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ module LibPolymake
@wrapmodule(() -> joinpath(libpolymake_julia), :define_module_polymake)

function __init__()

ccall(:jl_generating_output, Cint, ()) == 1 && return nothing
@initcxx

end
Expand Down Expand Up @@ -141,7 +141,7 @@ module LibOscarNumber
@wrapmodule(() -> joinpath(libpolymake_oscarnumber), :define_module_polymake_oscarnumber)

function __init__()

ccall(:jl_generating_output, Cint, ()) == 1 && return nothing
@initcxx

end
Expand Down Expand Up @@ -170,6 +170,7 @@ function set_rand_source(f::Function)
end

function __init__()
ccall(:jl_generating_output, Cint, ()) == 1 && return nothing

binpaths = [
@generate_wrappers(lib4ti2_jll),
Expand Down

0 comments on commit 985c968

Please sign in to comment.