[coreboot] Patch merged into coreboot/master: c960958 Fix size_t for certain versions of GCC

gerrit at coreboot.org gerrit at coreboot.org
Fri May 25 08:00:45 CEST 2012


the following patch was just integrated into master:
commit c960958a82b43dc4401d8f300e0d90daefc9341f
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon May 14 13:21:08 2012 -0700

    Fix size_t for certain versions of GCC
    
    When compiling coreboot with the latest ChromeOS toolchain, GCC
    complains that some printk calls use %zu in connection with size_t
    types since it resolves the typedefs to long unsigned int.
    
    The problem is solved by using the GCC built-in __SIZE_TYPE__ if it
    exists and define __SIZE_TYPE__ to long unsigned int otherwise.
    
    Change-Id: I449c3d385b5633a05e57204704e981de6e017b86
    Signed-off-by: Stefan Reinauer <reinauer at google.com>

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Fri May 25 08:00:43 2012, giving +2
See http://review.coreboot.org/1040 for details.

-gerrit




More information about the coreboot mailing list