From f71633cc2d80081b110c8bb17bdf04a7ef3d743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Guzm=C3=A1n?= Date: Wed, 14 Dec 2022 19:21:46 -0600 Subject: [PATCH] set warning level to 3 --- meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 7002abd..773b1ef 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'SQLiteCpp', 'cpp', # SQLiteCpp requires C++11 support - default_options: ['cpp_std=c++11'], + default_options: ['cpp_std=c++11', 'warning_level=3'], license: 'MIT', version: '3.2.1', ) @@ -51,8 +51,9 @@ sqlitecpp_srcs = files( sqlitecpp_args = cxx.get_supported_arguments( # included in meson by default # -Wall - '-Wextra', - '-Wpedantic', + # included when warning_level=3 + #'-Wextra', + #'-Wpedantic', '-Wswitch-enum', '-Wshadow', '-Wno-long-long',