t-sakashita / rokko

Integrated Interface for libraries of eigenvalue decomposition
Boost Software License 1.0
10 stars 2 forks source link

gfortranでのwarning #609

Open t-sakashita opened 1 year ago

t-sakashita commented 1 year ago
/home/runner/work/rokko/rokko/rokko/parallel_sparse_ev.F90:199:22:

  199 |        names(i)%str = rokko_get_string(ptr_i)
      |                      1
Warning: POINTER-valued function appears on right-hand side of assignment at (1) [-Wsurprising]
t-sakashita commented 1 year ago

https://stackoverflow.com/questions/60507302/fortran-constructor-returning-pointer-to-allocated-object