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

Fix and improve assertions #41

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Fix and improve assertions #41

merged 1 commit into from
Feb 21, 2025

Conversation

rouson
Copy link

@rouson rouson commented Feb 21, 2025

This pull request

  1. Works around an Assert 2.0.1 issue that prevents a procedure containing an assertion from having a variable named "string".
  2. Converts several file name extensions to .F90 so that most compilers will automatically preprocess such files.
  3. Switches all assertions to using the new Assert 2.0 macros such as call_assert and call_assert_diagnose to facilitate the complete removal of the assertions by the preprocessor when -DASSERTIONS is not passed to the compiler.

This commit
1. Works around an Assert 2.0.1 issue that prevents a procedure
   containing an assertion fron having a variable named "string".
2. Converts several file name extensions to .F90 so that most
   compilers will automatically preprocess such files.
@rouson rouson merged commit 6c8f40c into main Feb 21, 2025
8 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.

1 participant