[Bug 1842] Static assertions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Aug 2 07:04:52 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1842

--- 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 bugs mailing list