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

Invalid namelist concatenation in namelist_use.f90 #3

Closed
nncarlson opened this issue Jan 28, 2018 · 3 comments
Closed

Invalid namelist concatenation in namelist_use.f90 #3

nncarlson opened this issue Jan 28, 2018 · 3 comments

Comments

@nncarlson
Copy link
Owner

The namelist_use.f90 test adds to a namelist gotten by USE association. The test seems to acknowledge that allowing this is an extension. This violates C584 (F08) and C594 (F15).

@nncarlson
Copy link
Owner Author

One could argue this feature is a deliberate extension, I suppose.

@jerryd
Copy link

jerryd commented Sep 22, 2018

Would it be better to change the warning wording to say "extension" and then give an error with -std=xxxx ? or just always give an error? Disregard: I see we do give an error with -std=f95

@nncarlson
Copy link
Owner Author

And also with all the later -std=f2003, etc. I also dug into the options a bit and found -pedantic which does warn that is an extension. So I think there's nothing to see here.

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

2 participants