You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
the issue with __cxa_pure_virtual has been resolved for v1.3.0. But, for classes like regex/stringstream and some other classes that rely on std::locale, most of the functionality is broken. Even if these were patched to work, they will bloat the size of your contract very dramatically, so to keep cpu/ram costs these types shouldn't be used any way.
I'm trying to use C++ regex.
#include <regex>
std::regex poly_regex("[a-z0-9_-]{11}", std::regex::icase);
When I build, I get:
/usr/local/eosio.cdt/bin/wasm-ld: error: locale.cpp.o: undefined symbol: strftime_l
/usr/local/eosio.cdt/bin/wasm-ld: error: memory.cpp.o: undefined symbol: __cxa_pure_virtual
/usr/local/eosio.cdt/bin/wasm-ld: error: system_error.cpp.o: undefined symbol: __cxa_pure_virtual
if I comment out that line (not the include), it builds fine.
The text was updated successfully, but these errors were encountered: