ccache: ccache trigers -Wparentheses-equality warning. |
|||||||||
Issue descriptionhttps://uberchromegw.corp.google.com/i/chromiumos.tryserver/builders/release/builds/6318/steps/BuildPackages%20%5Bafdo_use%5D/logs/stdio For this code if (IS_ERR(bht->hash_desc[cpu].tfm)) { ccache expands to if ((bht->hash_desc[cpu].tfm == __null)) and this triggers a clang warning /mnt/host/source/src/platform/verity/dm-bht.c:166:32: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] if ((bht->hash_desc[cpu].tfm == __null)) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /mnt/host/source/src/platform/verity/dm-bht.c:166:32: note: remove extraneous parentheses around the comparison to silence this warning if ((bht->hash_desc[cpu].tfm == __null)) { ~ ^ ~
,
Sep 26 2016
,
Sep 26 2016
,
Oct 1 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/848c6d5a63a7f49bc76918e6e44f315538c4ebfe commit 848c6d5a63a7f49bc76918e6e44f315538c4ebfe Author: Yunlian Jiang <yunlian@google.com> Date: Fri Sep 23 17:13:36 2016 gcc: enable ccache for clang build This enables ccache for clang. It also fixes a bug in the wrapper. It also sets the environment variable 'CCACHE_CPP2' to 'yes' if clang is used. BUG= chromium:649740 TEST=cbuildbot falco-release oak-release daisy-release --profile=llvm Change-Id: I3720e0d8bc1f560afe7fce82ef0f790e3b3ef9eb Reviewed-on: https://chromium-review.googlesource.com/386263 Commit-Ready: Yunlian Jiang <yunlian@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org> Reviewed-by: Luis Lozano <llozano@chromium.org> [rename] https://crrev.com/848c6d5a63a7f49bc76918e6e44f315538c4ebfe/sys-devel/gcc/gcc-4.9.2-r141.ebuild [modify] https://crrev.com/848c6d5a63a7f49bc76918e6e44f315538c4ebfe/sys-devel/gcc/files/sysroot_wrapper.hardened
,
Oct 3 2016
,
Oct 7 2016
,
Nov 19 2016
,
Jan 21 2017
,
Mar 4 2017
,
Mar 17 2017
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by yunlian@chromium.org
, Sep 23 2016