RTEMS | C++20 deprecates some volatile operations (#5505)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Mon Mar 2 02:05:21 UTC 2026
Sebastian Huber created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5505
See:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r4.html
This is an issue with threaddispatch.h:
```
cpukit/include/rtems/score/threaddispatch.h: In function 'void _Thread_Dispatch_unnest(Per_CPU_Control*)':
cpukit/include/rtems/score/threaddispatch.h:258:15: error: '--' expression of 'volatile'-qualified type is deprecated [-Werror=volatile]
258 | --cpu_self->thread_dispatch_disable_level;
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5505
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/16ae3186/attachment-0001.htm>
More information about the bugs
mailing list