-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
error handlingHandling of exceptions by Julia or the userHandling of exceptions by Julia or the user
Description
The main issue here is that most deprecation warnings I'm seeing only point to ./deprecated.jl:40, which makes it hard to determine what needs to change:
julia> using BinDeps
WARNING: parseint(s,base) is deprecated, use parse(Int,s,base) instead.
in depwarn at ./deprecated.jl:40
WARNING: uint8(r::UnitRange) is deprecated, use map(UInt8,r) instead.
in depwarn at ./deprecated.jl:40
WARNING: parseint(s,base) is deprecated, use parse(Int,s,base) instead.
in depwarn at ./deprecated.jl:40
WARNING: parseint(s,base) is deprecated, use parse(Int,s,base) instead.
in depwarn at ./deprecated.jl:40
WARNING: uint8(r::UnitRange) is deprecated, use map(UInt8,r) instead.
in depwarn at ./deprecated.jl:40As a consequence, there are times when I see dozens of copies the same warning. The code for depwarn seems to think these are coming from different callers, but seemingly doesn't want to pass on that information. E.g., when attempting to build
julia> Pkg.build("VideoIO")
... <snip - pages of various deprecation warnings like those below >
WARNING: c_malloc is deprecated, use Libc.malloc instead.
in depwarn at ./deprecated.jl:40
WARNING: c_malloc is deprecated, use Libc.malloc instead.
in depwarn at ./deprecated.jl:40
WARNING: c_malloc is deprecated, use Libc.malloc instead.
in depwarn at ./deprecated.jl:40
... <snip - repeated about 40 more times, plus others>The amount of useless output is rather ridiculous.
julia> versioninfo()
Julia Version 0.4.0-dev+3882
Commit 76b40df* (2015-03-18 14:13 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin14.1.0)
CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3Metadata
Metadata
Assignees
Labels
error handlingHandling of exceptions by Julia or the userHandling of exceptions by Julia or the user