Skip to content

Fix non-const stop code#27

Merged
zarethrex merged 1 commit into
zarethrex:mainfrom
yanjen:fix_error
May 18, 2026
Merged

Fix non-const stop code#27
zarethrex merged 1 commit into
zarethrex:mainfrom
yanjen:fix_error

Conversation

@yanjen

@yanjen yanjen commented May 18, 2026

Copy link
Copy Markdown
Contributor

Hello,

The Fortran 2008 standard states that stop codes should be a constant expression.
This creates an error when one enforces the Fortran 2008 standard with the -std=f2008 flag.
Since the error code is always 1, and ERROR STOP already exits with an error, I propose to remove the stop code.

@zarethrex

Copy link
Copy Markdown
Owner

@yanjen thanks for keeping the code updated with conventions

@zarethrex
zarethrex merged commit fd4e450 into zarethrex:main May 18, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants