-
Notifications
You must be signed in to change notification settings - Fork 99
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
updated cg_goto_f to use F2008 API #759
base: develop
Are you sure you want to change the base?
Conversation
@MicK7, I wonder why we are passing an array of strings as an argument for cg_goto_f. I don't think passing an array would work (at least, I don't think any tests do that). I'm unsure why we did not "flip the switch" to doing it this way; it was probably a compiler issue. It also looks like we never technically use the end variable, so if someone does "end=end," it won't work. |
If you refer to the optional array of argument of cg_goto_f in cgns_f.F90 It was introduced to imitate the C variadic array. I am not aware of the "end=end" issue I need to investigate but you might be right. |
LGTM as the MacOs failure is not related to the change but to a tooling bad configuration. |
The goto_f interface should be DIMENSION(1) and not DIMENSION(*), as passing a character array with a len != 1 does not work (and is probably not common anyway since no one has complained).
|
@MicK7, What is the issue with the MacOS runner? |
It seems the MacOS runner image switched from Apple clang 14 to Apple clang 15. |
Experimenting with switching to using F2008 features.