summaryrefslogtreecommitdiffstats
path: root/base/debug_util_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/debug_util_posix.cc')
-rw-r--r--base/debug_util_posix.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/debug_util_posix.cc b/base/debug_util_posix.cc
index 1768234..6200777 100644
--- a/base/debug_util_posix.cc
+++ b/base/debug_util_posix.cc
@@ -20,6 +20,12 @@
#include "base/scoped_ptr.h"
#include "base/string_piece.h"
+#if defined(COMPILER_GCC)
+// Squash warnings about backtrace et. al. not
+// being NULL on Linux.
+#pragma GCC diagnostic ignored "-Waddress"
+#endif
+
// static
bool DebugUtil::SpawnDebuggerOnProcess(unsigned /* process_id */) {
NOTIMPLEMENTED();