[rtems commit] score: Support static_assert and _Static_assert
Ralf Corsepius
ralf.corsepius at rtems.org
Tue Nov 6 16:46:06 UTC 2012
On 11/06/2012 01:59 PM, Sebastian Huber wrote:
> On 11/06/2012 12:33 PM, Ralf Corsepius wrote:
>> On 11/06/2012 10:20 AM, Sebastian Huber wrote:
>>> Module: rtems
>>> Branch: master
>>> Commit: e278f8b7d9456cb7d051da06a4b011b9568831dc
>>> Changeset:
>>> http://git.rtems.org/rtems/commit/?id=e278f8b7d9456cb7d051da06a4b011b9568831dc
>>>
>>>
>>> Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
>>> Date: Sun Nov 4 19:56:34 2012 +0100
>>>
>>> score: Support static_assert and _Static_assert
>>>
>> Sebastian, this patch is NOT OK with me!!!
>>
>> What you are doing here is polluting the source tree with functions
>> which are
>> not guaranteed to exist.
>
> The static_assert and _Static_assert are no functions. These are C or
> C++ language keywords. They are mandatory for the respective standard
> revision.
>
Right, static_assert is a bleeding edge C++ keyword.
But RTEMS is implemented in C => C++ extensions make no sense in RTEMS
headers.
What you are doing here is silly.
Ralf
More information about the devel
mailing list