commit | ca31ce92a11021e67c81e2a3e2da51f45ec61f69 | [log] [tgz] |
---|---|---|
author | Yu-hsin Wang <yuhsingw@google.com> | Mon Oct 17 13:59:18 2022 +0800 |
committer | Yu-hsin Wang <yuhsingw@google.com> | Tue Oct 18 12:11:25 2022 +0000 |
tree | 725587f3706715e56bd9c8558884793e72142fec | |
parent | bc914c949f09e7e8858913ec9635fc56c8a87375 [diff] |
scons: fix systrace header test Latest compilers default checks the unused and uninitialized. Those checks result in false negative of the header test. We fix it by replacing the temp variable to (void *)1. Btw, (void *)0 not works here because the function is declare with nonnull. https://elixir.bootlin.com/glibc/latest/source/debug/execinfo.h#L38 Change-Id: I3b51faf7595b861bfbd131c0a42fd6d78a5e9698 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/64652 Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Gabe Black <gabe.black@gmail.com>