-
Notifications
You must be signed in to change notification settings - Fork 3k
Critical - core_util_atomic_decr/incr are undefined #2126
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
Comments
I'm facing this issue as well on top of today's mbed/master ... it seems to happen "only" on cortex-M0/M0+ targets. |
Pr up: #2131. It was a last minute change and went unnoticed since GCC only emits a warning.
That is my bad, I was missing the warning emitted for differing return values. I'll fix this in a separate pr once #2131 is merged. |
Now that #2131 is merged, is this still an issue? |
ARM Internal Ref: IOTMORF-135 |
Undefined functions
core_util_atomic_decr/incr
. There's no function with a declaration to match:core_util_atomic_decr((uintptr_t)valuePtr, (uintptr_t)delta)
. I would assume that missing functions should be implemented, and can't be on top of current functions because they return a value, and these functions return void pointer. The API documentation should state that (be more specific), notThe new decremented value.
as the rest of API.Reference: #2054
@geky
The text was updated successfully, but these errors were encountered: