[Bug 1842] Static assertions
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Jul 19 14:17:27 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1842
--- Comment #2 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-07-19 09:17:26 CDT ---
(In reply to comment #1)
> Seems like a fine idea. Is this more GCC-specific magic?
It works a least on GCC.
>
> Also, would adding __FILE__ and __LINE__ macros be sensible?
You have this in already in the error message.
There are a several ways to implement static assertions.
--
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