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
I'm seeing linker errors complaining about missing abi functions __cxa_guard_acquire and __cxa_guard_release:
Sensors.cpp:(.text._ZN6BMP08511getInstanceEv[BMP085::getInstance()]+0x29): undefined reference to `__cxa_guard_acquire'
Sensors.cpp:(.text._ZN6BMP08511getInstanceEv[BMP085::getInstance()]+0x38): undefined reference to `__cxa_guard_release'
Should we add definitions for these functions to abi.h/abi.c to allow use of statics in these situtions? This is what arduino's avr core does:
When writing code like this:
I'm seeing linker errors complaining about missing abi functions
__cxa_guard_acquire
and__cxa_guard_release
:Should we add definitions for these functions to
abi.h
/abi.c
to allow use of statics in these situtions? This is what arduino's avr core does:Or am I doing something fundamentally wrong here? Happy to provide a PR.
The text was updated successfully, but these errors were encountered: