Although annoying, these warnings won't actually cause any problems.

The best bet to remove the warnings is to file an issue with
NumericExtensions.jl, preferably (but not necessarily) with a pull request
fixing the issue (these functions didn't exist in v0.2).

Note that v0.3-rc1 has one similar warning:

julia> using NumericExtensions
Warning: could not import Base.add! into NumericExtensions

which was caused by the removal of add! from Base, which was previously
deprecated.

Cheers,
   Kevin


On Mon, Jul 14, 2014 at 10:32 AM, Stephen Chisholm <[email protected]>
wrote:

> I'm trying to figure out which is the correct way to handle using
> NumericExtensions with Julia 0.2-.  When using Julia 0.2.1 with
> NumericExtensions 0.3.6 you'll see 5 warning messages when the package is
> loaded (see below).  I've search the forums and there seems to be two ways
> people are dealing with this by either just ignoring the warnings or by
> pinning NumericExtensions at verions 0.2.20.
>
> I realize that this problem will go away with the release of Julia 0.3-
> but until then, what should users be doing?
>
> Cheers, Steve
>
> julia> VERSION
> v"0.2.1"
>
> julia> Pkg.status()
> Required packages:
>  - Distance                      0.2.6
>  - NumericExtensions             0.3.6
>
> julia> using NumericExtensions
> Warning: could not import Base.foldl into NumericExtensions
> Warning: could not import Base.foldr into NumericExtensions
> Warning: could not import Base.sum! into NumericExtensions
> Warning: could not import Base.maximum! into NumericExtensions
> Warning: could not import Base.minimum! into NumericExtensions
>

Reply via email to