LibBSD | rtemsbsd: Fix C++ issue with <machine/atomic.h> (!127)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Fri Mar 13 01:25:28 UTC 2026
Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/127
Project:Branches: sebhub/rtems-libbsd:main-fix-atomic to rtems/pkg/rtems-libbsd:main
Author: Sebastian Huber
## Summary
rtemsbsd: Fix C++ issue with <machine/atomic.h>
Fix this error:
rtemsbsd/include/machine/atomic.h: In function 'void
atomic_store_int(volatile unsigned int*, int)':
rtemsbsd/include/machine/atomic.h:292:17: error: no matching function
for call to 'std::atomic<unsigned int>::store(const std::memory_order&)'
292 | q->store(std::mo)
| ~~~~~~~~^~~~~~~~~
Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>
## Generative AI
<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/127
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260313/804ab6b1/attachment-0001.htm>
More information about the bugs
mailing list