diff options
author | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-02 22:55:57 +0000 |
---|---|---|
committer | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-07-02 22:55:57 +0000 |
commit | 5f6e1f0fe74bc01878d80531a91c39df9dfaa62a (patch) | |
tree | 4fe7140f6051191e509807d101d224763d5d6d32 /Makefile.am | |
parent | Change #imports that should have been #includes to #include. (diff) | |
download | breakpad-5f6e1f0fe74bc01878d80531a91c39df9dfaa62a.tar.xz |
Fixing various compiler warnings and applying minor tweaks to allow running of
the mojority of breakpad unittests in Google.
http://breakpad.appspot.com/399002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@978 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 53b50831..b6270ad8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,6 +33,16 @@ # This allows #includes to be relative to src/ AM_CPPFLAGS = -I$(top_srcdir)/src +if GCC +# These are good warnings to be treated as errors +AM_CXXFLAGS = \ + -Werror=non-virtual-dtor \ + -Werror=vla \ + -Werror=unused-variable \ + -Werror=missing-braces \ + -Werror=overloaded-virtual +endif + # Specify include paths for ac macros ACLOCAL_AMFLAGS = -I m4 @@ -294,6 +304,7 @@ src_client_linux_linux_client_unittest_SOURCES = \ src/client/linux/minidump_writer/linux_core_dumper_unittest.cc \ src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc \ src/client/linux/minidump_writer/minidump_writer_unittest.cc \ + src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc \ src/common/linux/linux_libc_support_unittest.cc \ src/common/linux/tests/crash_generator.cc \ src/common/memory_unittest.cc \ |