diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-07-07 21:31:55 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-07-07 23:30:31 +0200 |
commit | 9eb61809638db2d6cf4068b8509c46a4632b925c (patch) | |
tree | 63b771347ff740ad3da5195a658d0a7815afe660 /src/soc | |
parent | 0fa5d8f219a016d58e4592c268730d0f45a2835b (diff) |
stddef.h: Disable check_member() macro when compiling with CLANG
CLANG assumes that _Static_assert() is a C++11 only feature and
errs out when encountering the check_member macro complaining about
a reinterpret_cast.
Change-Id: Id8c6b47b4f5716e6184aec9e0bc4b0e1c7aaf17c
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10827
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc')
0 files changed, 0 insertions, 0 deletions