Skip to content

Conversation

aschw
Copy link

@aschw aschw commented Aug 26, 2025

Add some missing SBE_CONSTEXPR to the C++ generated code.

@aschw aschw force-pushed the cpp-codegen-add-static-keywords branch from d7e3e00 to 08db44f Compare August 27, 2025 16:41
@@ -47,7 +47,7 @@ if (NOT CMAKE_BUILD_TYPE)
endif (NOT CMAKE_BUILD_TYPE)

if (NOT DEFINED CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why changed to C++ 14?
We can't accept this change, because there are existing customers on older C++ versions.

@aschw
Copy link
Author

aschw commented Sep 4, 2025

C++14 is required for more complex constsxpr function bodies (e.g. variable definition and array subscripting).

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