[vte] build: Use our own warning flags



commit 2395e8f18a7fea559e4c65f27ea26d8fe62c3860
Author: Christian Persch <chpe src gnome org>
Date:   Sun Apr 28 14:47:57 2019 +0200

    build: Use our own warning flags
    
    Use warning_level=0, and use our own list of warnings.

 meson.build | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index 904de93f..c79c07f8 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,7 @@ project(
     'buildtype=release',
     'c_std=gnu11',
     'cpp_std=gnu++17',
+    'warning_level=0',
   ],
   meson_version: '>= 0.49.0',
 )
@@ -234,6 +235,7 @@ compiler_flags_common = [
   '-Werror=pointer-arith',
   '-Wfloat-equal',
   '-Wignored-qualifiers',
+  '-Winvalid-pch',
   '-Wlogical-op',
   '-Wmisleading-indentation',
   '-Wmissing-declarations',
@@ -299,6 +301,7 @@ compiler_flags_c_only = [
 
 compiler_flags_cxx_only = [
   '-Wimplicit-fallthrough=5',
+  '-Wnon-virtual-dtor',
   '-Wstrict-null-sentinel',
 ]
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]