mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-07 03:06:05 -04:00
set warning level to 3
This commit is contained in:
parent
e8b812e1e1
commit
f71633cc2d
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user