[Bug 1842] Static assertions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Aug 2 02:04:52 CDT 2011


--- Comment #4 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-08-02 02:04:51 CDT ---
(In reply to comment #3)
> Would it also make sense to have an RTEMS_ASSERT() that does dynamic
> assertions, but compile it only if RTEMS_DEBUG is turned on?

We already have <assert.h> and the NDEBUG define.  What we need is a switch
that sets NDEBUG for the RTEMS build.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the rtems-bugs mailing list