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

Fix conflict with stdc++ operator delete[](void*, size_t) #2877

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Aug 23, 2024

Happens under some situations only so make it weak just in case. Fixes delightful error message:

xtensa-lx106-elf/bin/ld: .../out/Esp8266/debug/lib/clib-heap-e92ce383a1d93c576825dc47f463e4fe.a(alloc.o):
    in function `_ZdaPvj': alloc.cpp:(.text._ZdaPvj+0x4):
    multiple definition of `_ZdaPvj';
    .../lib/libstdc++.a(del_opvs.o):/workdir/repo/gcc-gnu/libstdc++-v3/libsupc++/del_opvs.cc:33: first defined here

@SmingHub SmingHub deleted a comment from what-the-diff bot Aug 23, 2024
@slaff slaff added this to the 6.0.0 milestone Aug 24, 2024
@slaff slaff merged commit 3378a0c into SmingHub:develop Aug 24, 2024
46 checks passed
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