Multiple Targets Broken on Same Static Assert

Joel Sherrill joel at rtems.org
Wed Jun 8 12:59:58 UTC 2016


Hi

Multiple targets (epiphany, m32c, and or1k as minimum) have a compile error
at this point:

../../cpukit/../../../epiphany_sim/lib/include/rtems/score/basedefs.h:221:17:
error: size of array
'rtems_static_assert_THREAD_QUEUE_SYSLOCK_QUEUE_NEXT_TICKET' is negative
     typedef int rtems_static_assert_ ## msg [(cond) ? 1 : -1]
                 ^
../../../../../../rtems/c/src/../../cpukit/score/src/threadq.c:27:1: note:
in expansion of macro 'RTEMS_STATIC_ASSERT'

I suspect these are targets with an old GCC and this doesn't compile on
those.

--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160608/ed0ddb0f/attachment.html>


More information about the devel mailing list