Skip to content

Configuration - Update minimum version of C++ to 17#537

Merged
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:c++17_migration
May 16, 2025
Merged

Configuration - Update minimum version of C++ to 17#537
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:c++17_migration

Conversation

@dpasukhi
Copy link
Copy Markdown
Member

Update C++ standard to C++17 in build configuration and documentation

Update C++ standard to C++17 in build configuration and documentation
@dpasukhi dpasukhi added this to the Release 8.0 milestone May 15, 2025
@dpasukhi dpasukhi requested a review from Copilot May 15, 2025 23:15
@dpasukhi dpasukhi self-assigned this May 15, 2025
@dpasukhi dpasukhi added 2. Enhancement New feature or request 1. Configuration CMake/QMake processes of OCCT or samples labels May 15, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the minimum C++ standard from C++14 to C++17 in both the build documentation and the GitHub Actions configuration.

  • Updates the documented C++ standard versions in the build_occt markdown file
  • Consistently replaces C++14 with C++17 in the GitHub Actions configuration for building OCCT

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
dox/build/build_occt/building_occt.md Updated the available list of C++ standard versions to reflect C++17 as the new minimum and added C++26
.github/actions/build-occt/action.yml Replaced occurrences of C++14 with C++17 in the build configuration
Files not reviewed (2)
  • CMakeLists.txt: Language not supported
  • adm/cmake/occt_macros.cmake: Language not supported
Comments suppressed due to low confidence (1)

dox/build/build_occt/building_occt.md:121

  • Verify that including C++26 in the list of selectable standards is intentional, as the PR title indicates updating the minimum C++ standard to C++17.
| BUILD_CPP_STANDARD | String | Select C++ standard (C++17, C++20, C++23, C++26) |

@dpasukhi dpasukhi requested a review from AtheneNoctuaPt May 15, 2025 23:33
@github-project-automation github-project-automation bot moved this from Todo to Integration in Maintenance May 16, 2025
@dpasukhi dpasukhi merged commit 3e80fad into Open-Cascade-SAS:IR May 16, 2025
33 checks passed
@dpasukhi dpasukhi deleted the c++17_migration branch May 16, 2025 09:30
@github-project-automation github-project-automation bot moved this from Integration to Done in Maintenance May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Configuration CMake/QMake processes of OCCT or samples 2. Enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants