set warning level to 3

This commit is contained in:
Jonathan Guzmán 2022-12-14 19:21:46 -06:00
parent e8b812e1e1
commit f71633cc2d
No known key found for this signature in database
GPG Key ID: C2956F1668BA042A

View File

@ -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',