diff options
author | craig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 05:51:42 +0000 |
---|---|---|
committer | craig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 05:51:42 +0000 |
commit | addb2cca75bf413fccd76563e82d29f4578925b1 (patch) | |
tree | 962ddc7c5736b8e6fb9e786dc2ebb5839504f22c /base/debug_util_posix.cc | |
parent | d3c3274426c2f6b9f1796cda6d5b4466237cfaf7 (diff) | |
download | chromium_src-addb2cca75bf413fccd76563e82d29f4578925b1.zip chromium_src-addb2cca75bf413fccd76563e82d29f4578925b1.tar.gz chromium_src-addb2cca75bf413fccd76563e82d29f4578925b1.tar.bz2 |
Squash warnings about backtrace et. al. not being NULL on Linux.
The warnings are legit but it seems cleaner to do this than to do tons
of #if defined(OS_MACOSX) bits to handle the changes from r26285.
Review URL: http://codereview.chromium.org/206026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug_util_posix.cc')
-rw-r--r-- | base/debug_util_posix.cc | 6 |
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(); |