Skip to content

Conversation

gardner48
Copy link
Member

Add C23 option to CMAKE_C_STANDARD

Copy link
Collaborator

@drreynolds drreynolds left a comment

Choose a reason for hiding this comment

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

LGTM. Have we confirmed that SUNDIALS can build without issue in C23?

@gardner48
Copy link
Member Author

gardner48 commented Oct 6, 2025

Have we confirmed that SUNDIALS can build without issue in C23?

It works with gcc 15 (C23 became the default in gcc 15). I don't think other compilers have full C23 support yet.

@gardner48 gardner48 merged commit 1abfc1d into develop Oct 7, 2025
49 checks passed
@gardner48 gardner48 deleted the cmake/c23-option branch October 7, 2025 06:12
@gardner48 gardner48 added this to the SUNDIALS Next milestone Oct 7, 2025
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.

3 participants