Support for C++17 as base standard of OpenBSW #136
rolandreichweinbmw
started this conversation in
General
Replies: 2 comments 4 replies
-
|
When building the unit tests with google test, we currently get deprecation warnings from old cmake compatibility declarations. Upgrading to new google test 1.17.x requires C++17. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@rolandreichweinbmw, in my opinion supporting C++14 would be beneficial if there are (very) old toolchains used in some projects, but I get your point - let's take this discussion in our next OpenBSW meeting. Do you have in mind if any parts of OpenBSW could be simplified/dropped if we switch to C++17? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, we support C++14 as the base C++ standard in OpenBSW, and ensure in the CI that OpenBSW works in projects based on C++ 17, 20, 23.
However, we can't use any new features generally from C++17 onwards.
I propose dropping C++14 and switch to C++17 to support new features from it.
This would:
Does anyone have a requirement to still support C++14 in their projects using OpenBSW? Or can we consequently drop C++14 support?
Beta Was this translation helpful? Give feedback.
All reactions