Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81382?usp=email )
Change subject: vc/wffs: Fix compiling for 64bit and clang ......................................................................
vc/wffs: Fix compiling for 64bit and clang
Disable a warning about always true comparison of integers.
Change-Id: I23ef29010d60bd543e48af032795ec9fc2ff9ecb Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/vendorcode/wuffs/wuffs-v0.4.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/81382/1
diff --git a/src/vendorcode/wuffs/wuffs-v0.4.c b/src/vendorcode/wuffs/wuffs-v0.4.c index bce9eb9..32a8b08 100644 --- a/src/vendorcode/wuffs/wuffs-v0.4.c +++ b/src/vendorcode/wuffs/wuffs-v0.4.c @@ -20,6 +20,9 @@ #pragma GCC diagnostic ignored "-Wunreachable-code" #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-parameter" +#if SIZE_MAX == 0xffffffffffffffff && defined(__clang__) +#pragma GCC diagnostic ignored "-Wtautological-type-limit-compare" +#endif #if defined(__cplusplus) #pragma GCC diagnostic ignored "-Wold-style-cast" #endif