summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-12-30 19:53:05 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-12-30 19:53:05 +0200
commit22af56e05aa9cba4740d2ff303d876bb0c3cfb2b (patch)
treece343b8d82c899062d1680f595f93533db3787ae
parentb161e64d7decfabf42c32d3cf67170bbc1ebf49b (diff)
downloadmeson-22af56e05aa9cba4740d2ff303d876bb0c3cfb2b.tar.gz
More warnings by default.
-rw-r--r--compilers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilers.py b/compilers.py
index 85f57c6c1..7100113bb 100644
--- a/compilers.py
+++ b/compilers.py
@@ -1106,7 +1106,7 @@ class ClangCCompiler(CCompiler):
class GnuCPPCompiler(CPPCompiler):
- std_warn_args = ['-Wall', '-Wpedantic', '-Winvalid-pch']
+ std_warn_args = ['-Wall', '-Wpedantic', '-Winvalid-pch', '-Wnon-virtual-dtor']
# may need to separate the latter to extra_debug_args or something
std_debug_args = ['-g']
@@ -1134,7 +1134,7 @@ class GnuCPPCompiler(CPPCompiler):
return get_gcc_soname_args(self.gcc_type, shlib_name, path, soversion)
class ClangCPPCompiler(CPPCompiler):
- std_warn_args = ['-Wall', '-Wpedantic', '-Winvalid-pch']
+ std_warn_args = ['-Wall', '-Wpedantic', '-Winvalid-pch', '-Wnon-virtual-dtor']
def __init__(self, exelist, version, is_cross, exe_wrapper=None):
CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrapper)