You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/06/17 09:38:10 UTC
[GitHub] [mynewt-core] kasjer opened a new pull request #1879: baselibc:
Update static asserts definition
kasjer opened a new pull request #1879: baselibc: Update static asserts definition
URL: https://github.com/apache/mynewt-core/pull/1879
Static asserts are part of C11.
There is C language keyword _Static_assert
and convenience macro static_assert.
For C++ there is no _Static_assert while static_assert is defined.
This adds missing macro to assert.h that is defined when compiled
by C compiler.
header files are updated so they could be used by C++.
C files are updated just to make it consistent.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services