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

New error function and resolved compiler warnings #764

Merged
merged 31 commits into from
Dec 19, 2024
Merged

Conversation

mauzey1
Copy link
Collaborator

@mauzey1 mauzey1 commented Nov 14, 2024

Resolves #602

This PR resolves numerous compiler warnings that spring up when building CMOR or its C tests.

Part of this effort involved creating a new error handling function that uses variadic arguments for format strings similar to printf. This will allow for error messages to have strings greater than 1023 characters (CMOR_MAX_STRING - 1 for null-terminated strings).

… consistent with printf style format strings
@mauzey1 mauzey1 self-assigned this Nov 14, 2024
@mauzey1 mauzey1 changed the title New error function test PR New error function and resolved compiler warnings Dec 19, 2024
@mauzey1 mauzey1 marked this pull request as ready for review December 19, 2024 20:29
@mauzey1 mauzey1 requested a review from durack1 December 19, 2024 20:29
Copy link
Contributor

@durack1 durack1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mauzey1 this is great, thanks for pushing on this!

@mauzey1 mauzey1 merged commit 906e37b into main Dec 19, 2024
15 checks passed
@mauzey1 mauzey1 deleted the new_error_function branch December 19, 2024 23:30
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.

Numerous warnings when compiling CMOR
2 participants