Skip to content
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

cpp: Add c++ version number #85009

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yperess
Copy link
Collaborator

@yperess yperess commented Feb 1, 2025

Several downstream libraries need to specify that they work with c++ 17+ or 20+ and there's no easy way to do this without constantly updating the Kconfig file and supporting different Kconfig versions for different Zephyr versions (since I can't add a dependency on a new c++ standard and have it backwards compatible.

lib/cpp/Kconfig Outdated Show resolved Hide resolved
cfriedt
cfriedt previously approved these changes Feb 1, 2025
lib/cpp/Kconfig Outdated Show resolved Hide resolved
pdgendt
pdgendt previously approved these changes Feb 1, 2025
cfriedt
cfriedt previously approved these changes Feb 1, 2025
lib/cpp/Kconfig Outdated Show resolved Hide resolved
lib/cpp/Kconfig Outdated Show resolved Hide resolved
lib/cpp/Kconfig Outdated Show resolved Hide resolved
@yperess yperess dismissed stale reviews from henrikbrixandersen, cfriedt, and pdgendt via bba2792 February 2, 2025 16:40
@yperess yperess force-pushed the peress/stdcpp branch 2 times, most recently from bba2792 to 150c9be Compare February 2, 2025 16:43
Several downstream libraries need to specify that they work with c++ 17+
or 20+ and there's no easy way to do this without constantly updating
the Kconfig file and supporting different Kconfig versions for different
Zephyr versions (since I can't add a dependency on a new c++ standard
and have it backwards compatible.

Signed-off-by: Yuval Peress <[email protected]>
@yperess
Copy link
Collaborator Author

yperess commented Feb 2, 2025

I guess we can't use longs in Kconfig ints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants