zephyr/lib/libc
Thiago Macieira 034b458141 libc: Add support for static_assert
The C11 standard requires this. From 7.2 "Diagnostics <assert.h>"
paragraph 1:
> The header <assert.h> defines the assert and static_assert macros...

paragraph 3:
> The macro
>     static_assert
> expands to _Static_assert.

Since static_assert is a keyword in C++11, don't define it if C++.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
2017-10-25 10:43:38 -07:00
..
minimal libc: Add support for static_assert 2017-10-25 10:43:38 -07:00
newlib newlib: xtensa: Fix a newlib link error 2017-08-10 09:33:13 -05:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Makefile libc: rework libc selection and reduce Kconfigs 2016-12-15 22:31:28 +00:00