Ptr{Vector{Float64}} is a weird type to pass to Fortran. Did you mean
Ptr{Float64} perhaps?On Wed, Apr 22, 2015 at 11:40 AM Kristoffer Carlsson <[email protected]> wrote: > Hello everyone, > > I call a fortran function in a way similar to this: > > ccall(fortran_func, Void, (Ref{Int}, Ptr{Vector{Float64}}), 5, para) > > I then get the following deprecation warning each time I call it: > > WARNING: convert(::Type{Ptr}, ::Array{Float64,1}) methods should be > converted to be methods of unsafe_convert > > This deprecation warning basically takes all the time in my analysis. > I read this: https://github.com/JuliaLang/julia/issues/10437 but I am not > sure what I actually need to do to make it go away. > Running juilia --depwarn=no does not help. > > Thanks in advance, > > // Kristoffer Carlsson >
