[coreboot-gerrit] Patch merged into coreboot/master: stddef.h: Disable check_member() macro when compiling with CLANG

gerrit at coreboot.org gerrit at coreboot.org
Tue Jul 7 23:30:34 CEST 2015


the following patch was just integrated into master:
commit 9eb61809638db2d6cf4068b8509c46a4632b925c
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Tue Jul 7 21:31:55 2015 +0200

    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 at coreboot.org>
    Reviewed-on: http://review.coreboot.org/10827
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>
    Tested-by: build bot (Jenkins)


See http://review.coreboot.org/10827 for details.

-gerrit



More information about the coreboot-gerrit mailing list