-
Notifications
You must be signed in to change notification settings - Fork 96
Migrate to cpp version 20 #570
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
Conversation
There was a problem hiding this 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 pull request upgrades the codebase from C++ version 17 to version 20 and updates Boost from version 1.85 to 1.88. The changes include updating compiler standards, modernizing deprecated Boost ASIO APIs, updating copyright years to 2025, and fixing compatibility issues with the new library versions.
Key Changes:
- Updated C++ standard from 17 to 20 across all build configurations and profiles
- Upgraded Boost dependency from 1.85.0 to 1.88.0 and other library versions
- Replaced deprecated Boost ASIO APIs with modern equivalents throughout the codebase
Reviewed Changes
Copilot reviewed 291 out of 291 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| CMakeLists.txt | Updated C++ standard to 20 and incremented build version |
| conanfile.py | Upgraded Boost to 1.88.0, mqtt_cpp to 13.2.2, and gtest to 1.17.0 |
| conan/profiles/* | Updated all compiler profiles to use C++ standard 20 |
| src/mtconnect/utilities.* | Modernized date/time handling and fixed API compatibility issues |
| test_package/period_filter_test.cpp | Replaced deprecated reset() with restart() for io_context |
| Various test and source files | Updated copyright years to 2025 and fixed ASIO API usage |
Comments suppressed due to low confidence (6)
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Upgraded C++ to version 20 and boost to version 1.88.