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

Remove Pico-SDK C++ exception-override new/delete #2760

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Remove Pico-SDK C++ exception-override new/delete #2760

merged 2 commits into from
Jan 16, 2025

Conversation

earlephilhower
Copy link
Owner

We support both exceptions on and off, but the (only?) C++ file in the SDK is part of libpico and LWIP. Remove it so we will use GCC's build-in operator new/delete which will be correct for either option since we ship libc++ built with and without exceptions.

We support both exceptions on and off, but the (only?) C++ file in the
SDK is part of libpico and LWIP.  Remove it so we will use GCC's build-in
operator new/delete which will be correct for either option since we
ship libc++ built with and without exceptions.
The SDK will link in the same compilation unit in the LWIP builds.
Remove them to shrink the repo size a bit
@earlephilhower earlephilhower merged commit 7bfe25b into master Jan 16, 2025
28 checks passed
@earlephilhower earlephilhower deleted the xc branch January 16, 2025 23:02
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.

1 participant