Skip to content

The public CPP API from PGM should rely on c++17 standard #930

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

Merged
merged 4 commits into from
Mar 24, 2025

Conversation

TonyXiang8787
Copy link
Member

The public CPP API of PGM should rely on c++17 standard as decided by the TSC. However, there are c++20 features used. In this PR we force the package test to build in c++17. And the error will show up.

Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
@TonyXiang8787 TonyXiang8787 requested a review from mgovers March 21, 2025 20:57
@TonyXiang8787
Copy link
Member Author

@mgovers this is the commit which bumped the version
c825471

Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@TonyXiang8787
Copy link
Member Author

@mgovers if that is the only non-compliant code. Feel free to approve and merge the PR.

mgovers added 2 commits March 24, 2025 10:26
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
@mgovers mgovers enabled auto-merge March 24, 2025 09:34
@mgovers mgovers added this pull request to the merge queue Mar 24, 2025
Merged via the queue into main with commit 060af71 Mar 24, 2025
28 checks passed
@mgovers mgovers deleted the fix/pgm-cpp-api-cpp17 branch March 24, 2025 10:01
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo added the dependencies Pull requests that update a dependency file label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants