RTEMS | C++20 deprecates some volatile operations (#5505)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon Mar 2 02:32:33 UTC 2026




Sebastian Huber commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5505#note_143929


I fixed a couple of issues, but I don't know what to do with:
```
In file included from ../../../testsuites/sptests/sp19/first.c:34:
../../../testsuites/sptests/sp19/first.c: In function 'First_FP_task':
../../../testsuites/sptests/sp19/fptest.h:83:10: error: variable 'fp32' set but not used [-Werror=unused-but-set-variable=]
   83 |   double fp32 = 32.0
      |          ^~~~
../../../testsuites/sptests/sp19/first.c:44:3: note: in expansion of macro 'FP_DECLARE'
   44 |   FP_DECLARE;
      |   ^~~~~~~~~~
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5505#note_143929
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/d99720d3/attachment-0001.htm>


More information about the bugs mailing list