mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Add declarations of private cxx_guard functions (__cxa_guard_*) in cxx component to fix C++ -Wmissing-declarations warning
Merges https://github.com/espressif/esp-idf/pull/1956
This commit is contained in:
parent
d3b0e0e3fd
commit
e5ac96f49a
@ -33,6 +33,10 @@ static size_t s_static_init_waiting_count = 0; //!< number of tasks
|
||||
static size_t s_static_init_max_waiting_count = 0; //!< maximum ever value of the above; can be inspected using GDB for debugging purposes
|
||||
#endif
|
||||
|
||||
extern "C" int __cxa_guard_acquire(__guard* pg);
|
||||
extern "C" void __cxa_guard_release(__guard* pg);
|
||||
extern "C" void __cxa_guard_abort(__guard* pg);
|
||||
extern "C" void __cxa_guard_dummy();
|
||||
|
||||
/**
|
||||
* Layout of the guard object (defined by the ABI).
|
||||
|
Loading…
Reference in New Issue
Block a user