| Index: src/platform/crash/crash_reporter.cc
|
| diff --git a/src/platform/crash/crash_reporter.cc b/src/platform/crash/crash_reporter.cc
|
| index 15b9687061cb632fa3543eb3f2f9b8b8e0f9ac41..3112fd384a6569d0988c2a20007ae49f5320315e 100644
|
| --- a/src/platform/crash/crash_reporter.cc
|
| +++ b/src/platform/crash/crash_reporter.cc
|
| @@ -12,12 +12,14 @@
|
| #include "gflags/gflags.h"
|
| #include "metrics/metrics_library.h"
|
|
|
| +#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
| DEFINE_bool(init, false, "Initialize crash logging");
|
| DEFINE_bool(clean_shutdown, false, "Signal clean shutdown");
|
| DEFINE_string(exec, "", "Executable name crashed");
|
| DEFINE_int32(pid, -1, "Crashing PID");
|
| DEFINE_int32(signal, -1, "Signal causing crash");
|
| DEFINE_bool(unclean_check, true, "Check for unclean shutdown");
|
| +#pragma GCC diagnostic error "-Wstrict-aliasing"
|
|
|
| static const char kCrashCounterHistogram[] = "Logging.CrashCounter";
|
| static const char kUncleanShutdownFile[] =
|
|
|