LibBSD | Fix C++ issue with <machine/atomic.h> (!125)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Mon Mar 2 03:20:24 UTC 2026
Sebastian Huber created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/125
Project:Branches: sebhub/rtems-libbsd:fix-atomic to rtems/pkg/rtems-libbsd:7-freebsd-14
Author: Sebastian Huber
## Summary
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/125
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/20260302/06414ceb/attachment.htm>
More information about the bugs
mailing list