RTEMS | cpukit/include/rtems/confdefs: Improved comments on the #pragmas to ignore warnings issue (!1208)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Wed Apr 22 09:56:26 UTC 2026
Sebastian Huber started a new discussion on cpukit/include/rtems/confdefs/wkspace.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1208#note_148893
> #if defined( CONFIGURE_TASK_STACK_ALLOCATOR ) && \
> defined( CONFIGURE_TASK_STACK_DEALLOCATOR )
> /*
> - * Ignore the following warnings from g++ and clang in the uses of
> - * _CONFIGURE_ASSERT_NOT_NULL() below:
> - *
> - * warning: the address of 'f()' will never be NULL [-Waddress]
> - *
> - * warning: comparison of function 'f' not equal to a null pointer is always
> - * true [-Wtautological-pointer-compare]
> - */
> + * Ignore the following warnings from g++ and clang in the uses of
The formatting is not correct. In particular the `*` alignment.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1208#note_148893
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/20260422/bc7ec54a/attachment.htm>
More information about the bugs
mailing list