1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Gunar Schorcht
20dfe40330 sys: remove -std=c++11 2022-01-13 17:50:59 +01:00
Gunar Schorcht
a0f0d2ea43 sys/cpp_new_delete: add deleted operators required by C++14 2022-01-13 17:50:59 +01:00
Gunar Schorcht
9ec52361d1 sys/cpp11_compat: move __dso_handle to sys/cpp_new_delete
On ARM platforms, `__dso_handle` is used for dynamic shared objects. But it is also required if global static objects are used. To avoid that `sys/cpp11_compat` is required only for using the (re)defined `new`/`delete` operators, `__dso_handle` is moved to module `sys/cpp_new_delete`
2022-01-06 09:50:29 +01:00
Gunar Schorcht
4bfd549301 sys/new_delete: add malloc/free based new/delete implementation
On some platforms `libstdc++` is not used or not available, like on the AVR. Such platforms can use this module to implement the C++ `new` and `delete` operators using `malloc` and `free` respectively. However, to be thread-safe, a thread-safe implementation of `malloc` and `free` must be present.
2022-01-03 23:35:35 +01:00