f90wrap icon indicating copy to clipboard operation
f90wrap copied to clipboard

pointer variables results in skipped function, without warning

Open MrYann opened this issue 9 years ago • 2 comments
trafficstars

If a function uses pointer variables, the function is skipped, without warning. Minimal example :

module module_calcul contains subroutine evaluer_valeur(x) real,dimension(:,:),pointer :: x return end subroutine evaluer_valeur end module module_calcul

MrYann avatar Mar 31 '16 16:03 MrYann

Yes, pointer variables are still not supported - pull requests welcome! A warning is printed if you run in verbose mode (f90wrap -v).

jameskermode avatar Mar 31 '16 16:03 jameskermode

Comment from @MrYann from closed issue #47:

Now let’s deal with the pointer arguments. Do you have any lead as to why they are not supported ? (i did no extensive testing, but f2py seems to support them)

I don't really remember, but I think I disabled pointer arguments because the format used for passing them varies from one compiler to another. I suggest temporarily turning off the removal of functions with pointer arguments and then we can see if they work, and if so with which compilers.

jameskermode avatar May 18 '16 16:05 jameskermode