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

Base.Printf.function() deprecated in Julia 1.4 #109

Closed
Antmist opened this issue Apr 8, 2020 · 2 comments
Closed

Base.Printf.function() deprecated in Julia 1.4 #109

Antmist opened this issue Apr 8, 2020 · 2 comments

Comments

@Antmist
Copy link

Antmist commented Apr 8, 2020

Base.Printf needs to be changed to Printf.Printf with the dependency of Printf added to the top.

I am not sure how this change effects other versions of Julia and it looks like the Compat.jl package has been solving this problem up to 1.3.

I do a lot of work with the OmniSci.jl package and had to make this change to keep using the package, so at least this problem has a documented fix for anyone who is facing similar problems.

@stevengj
Copy link
Member

stevengj commented Apr 8, 2020

Fortunately, Printf has been a standard library since Julia 1.0, so compatibility is not a problem if we make this change.

@stevengj
Copy link
Member

stevengj commented Apr 8, 2020

Actually, this was already fixed a long time ago in #99, so I'm guessing you are using an old version of DecFP. Make sure your Project.toml lists DecFP = "0.4" in the [compat] section.

@stevengj stevengj closed this as completed Apr 8, 2020
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