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

Suppress deprecation warning when building sys0 #10728

Closed
wants to merge 1 commit into from

Conversation

tchajed
Copy link

@tchajed tchajed commented Apr 3, 2015

Fixes #10727.

Warnings are printed to STDERR, which is unavailable while building a
sysimg, resulting in any deprecation warnings while loading a module
failing the entire build. This is only an issue for deprecated code at
the module level, eg, in constants or macros.

Warnings are printed to STDERR, which is unavailable while building a
sysimg, resulting in any deprecation warnings while loading a module
failing the entire build. This is only an issue for deprecated code at
the module level, eg, in constants or macros.
@vtjnash vtjnash changed the title Suppress deprecation warning when building sysimg Suppress deprecation warning when building sys0 Apr 3, 2015
@ihnorton
Copy link
Member

ihnorton commented Apr 4, 2015

Thanks - I made a different fix in b9e165b so that this will also apply when people run imaging manually.

@ihnorton ihnorton closed this Apr 4, 2015
@tchajed
Copy link
Author

tchajed commented Apr 4, 2015

Awesome, that's a much better fix.

And thanks for correcting the title, I really wasn't sure if sysimg was the right name for it.

@tkelman
Copy link
Contributor

tkelman commented Apr 4, 2015

Will this make it any harder to find and fix deprecations in base moving forward? Would there be any way to have these only ignored while building userimg.jl?

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.

Cannot require packages with deprecation warnings from userimg.jl
3 participants