Skip to content

Revert back from C/C++17 to C/C++11 #3095

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

shlmregev
Copy link
Member

There are older toolchains that don't support C++17 and are still used in shipping products.
Rewrite hexdump.cc to not use C++17 features (std::byte and Class Template Argument Deduction). Also remove forcing of -std=libc for xtensa targets, which was added because stdlib isn't supported with -std=c++17.

BUG=410831256

There are older toolchains that don't support C++17 and are still used
in shipping products.
Rewrite hexdump.cc to not use C++17 features (std::byte and Class Template Argument Deduction).
Also remove forcing of -std=libc for xtensa targets, which was added
because stdlib isn't supported with -std=c++17.

BUG=410831256
@shlmregev shlmregev requested a review from a team as a code owner April 16, 2025 11:17
@TFLM-bot TFLM-bot removed the ci:run label Apr 16, 2025
@suleshahid
Copy link
Collaborator

@ddavis-2015 It seems like these are really the only files that are needing C++17? The makefile tests are all passing with C++11, do you know what else you would have expected to break?

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.

3 participants