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:53:50 UTC 2026
Sebastian Huber started a new discussion on cpukit/include/rtems/confdefs/inittask.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1208#note_148890
>
> #ifdef CONFIGURE_INIT
>
> +/**
> + * @brief Compile-time and runtime assertion that a pointer is not NULL.
> + *
> + * This macro validates that the given value is not NULL. If the value is
> + * non-NULL, it is returned unchanged. Otherwise, a compile-time error is
> + * triggered by using an invalid array bound.
> + *
> + * When _value is a function symbol, the compiler proves that its address
> + * is never NULL and reports the comparison as tautological. This assertion
This assertion may trigger warnings
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1208#note_148890
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/84d2db47/attachment-0001.htm>
More information about the bugs
mailing list