mirror of
https://github.com/yuzu-mirror/breakpad.git
synced 2025-12-31 21:50:04 +01:00
Newer gcc versions default to -Werror=narrowing when using newer C++
standards (which we do). This causes issues when we try to stuff a
value like 0xea into a char -- the value is out of range for signed
char bytes. That's when gcc throws an error:
.../bytereader_unittest.cc: In member function 'virtual void Reader_DW_EH_PE_absptr4_Test::TestBody()':
.../bytereader_unittest.cc:400:55: error: narrowing conversion of '234' from 'int' to 'char' inside { } [-Wnarrowing]
BUG=chromium:579384
TEST=`make check` passes
R=mark@chromium.org
Review URL: https://codereview.chromium.org/1605153004 .
|
||
|---|---|---|
| .. | ||
| build | ||
| client | ||
| common | ||
| google_breakpad | ||
| processor | ||
| third_party | ||
| tools | ||
| breakpad_googletest_includes.h | ||
| config.h.in | ||