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

Method overwriting is not permitted during Module precompilation #214

Open
kafisatz opened this issue Feb 20, 2024 · 2 comments
Open

Method overwriting is not permitted during Module precompilation #214

kafisatz opened this issue Feb 20, 2024 · 2 comments

Comments

@kafisatz
Copy link
Contributor

Using Julia 1.10 I get the error below.
I am not sure how to fix this though....

WARNING: Method definition mysql_get_option(Ptr{Nothing}, Integer, Ref{UInt32}) in module API at C:\Users\bernhard.koenig\.julia\packages\MySQL\pGOcg\src\api\ccalls.jl:218 overwritten at C:\Users\bernhard.koenig\.julia\packages\MySQL\pGOcg\src\api\ccalls.jl:225.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.

@kafisatz
Copy link
Contributor Author

Ok, adding __precompile__(false) is a workaround for now

__precompile__(false) 
module MyModule
#bla 
end

@pascalr0410
Copy link
Contributor

Hello, solved in 1.4.6

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

No branches or pull requests

2 participants