Skip to content

Conversation

tcclevenger
Copy link
Contributor

In C++20 you cannot aggregate initialize a stuct which has a default
constructor defined. We shouldn't need these constructors since views
themselves have default constructors.

Also, allow EAMxx to take a CMAKE_CXX_STANDARD option (default to C++17).

Creating this PR so that #7643 won't have to run full CI while I test.

[BFB]

In C++20 you cannot aggregate initialize a stuct which has a default
constructor defined. We shouldn't need these constructors since views
themselves have default constructors.
@tcclevenger tcclevenger requested a review from bartgol September 10, 2025 01:31
tcclevenger added a commit that referenced this pull request Sep 11, 2025
#7691)

In C++20 you cannot aggregate initialize a stuct which has a default
constructor defined. We shouldn't need these constructors since views
themselves have default constructors.

Also, allow EAMxx to take a CMAKE_CXX_STANDARD option (default to C++17).

Creating this PR so that #7643 won't have to run full CI while I test.

[BFB]
@tcclevenger tcclevenger merged commit 2e37353 into E3SM-Project:master Sep 11, 2025
27 of 34 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