Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-allocatable arrays in C-Fortran interface not generated properly #2

Open
bjonkman opened this issue Jan 4, 2017 · 0 comments
Open

Comments

@bjonkman
Copy link
Member

bjonkman commented Jan 4, 2017

When you declare fixed-length arrays in the registry input file, the FAST Registry doesn't treat them properly with the -ccode flag. There is a mixup between the pointers and the values pointed to.

Workaround is to make the arrays allocatable and allocate them inside your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant