diff options
author | Tobias Sargeant <tobiasjs@google.com> | 2017-02-06 17:57:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2017-02-17 03:18:05 +0000 |
commit | fd28a5bbe9a3fde97c90f0928b62894d597f2f6a (patch) | |
tree | da5e78aa12adf4b303206dc6deace636dc16be7b /src/tools/solaris/dump_syms/run_regtest.sh | |
parent | autotools: move -W flags to configure detection (diff) | |
download | breakpad-fd28a5bbe9a3fde97c90f0928b62894d597f2f6a.tar.xz |
Fix compile errors arising from compiling breakpad with clang.
These compile errors occur when building the check target with:
CXX=clang++-3.8
CXXFLAGS="-Werror -Wconstant-conversion -g -O2 -std=c++11"
src/processor/stackwalker_mips.cc:60:9: error: comparison of constant
18446744073709551615 with expression of type 'bool' is always false
[Werror,-Wtautological-constant-out-of-range-compare]
> 0xffffffffffffffff) {
^ ~~~~~~~~~~~~~~~~~~
src/processor/stackwalker_mips.cc:68:66: error: comparison of constant
4294967295 with expression of type 'bool' is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
if ((memory_ && memory_->GetBase() + memory_->GetSize() - 1) > 0xffffffff) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
Change-Id: I29eed8f4a67b9feeb274aa1fc6c79a019135e8d6
Reviewed-on: https://chromium-review.googlesource.com/438445
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'src/tools/solaris/dump_syms/run_regtest.sh')
0 files changed, 0 insertions, 0 deletions