mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-09 20:26:09 -04:00
set warning level to 3
This commit is contained in:
parent
e8b812e1e1
commit
f71633cc2d
@ -1,7 +1,7 @@
|
|||||||
project(
|
project(
|
||||||
'SQLiteCpp', 'cpp',
|
'SQLiteCpp', 'cpp',
|
||||||
# SQLiteCpp requires C++11 support
|
# SQLiteCpp requires C++11 support
|
||||||
default_options: ['cpp_std=c++11'],
|
default_options: ['cpp_std=c++11', 'warning_level=3'],
|
||||||
license: 'MIT',
|
license: 'MIT',
|
||||||
version: '3.2.1',
|
version: '3.2.1',
|
||||||
)
|
)
|
||||||
@ -51,8 +51,9 @@ sqlitecpp_srcs = files(
|
|||||||
sqlitecpp_args = cxx.get_supported_arguments(
|
sqlitecpp_args = cxx.get_supported_arguments(
|
||||||
# included in meson by default
|
# included in meson by default
|
||||||
# -Wall
|
# -Wall
|
||||||
'-Wextra',
|
# included when warning_level=3
|
||||||
'-Wpedantic',
|
#'-Wextra',
|
||||||
|
#'-Wpedantic',
|
||||||
'-Wswitch-enum',
|
'-Wswitch-enum',
|
||||||
'-Wshadow',
|
'-Wshadow',
|
||||||
'-Wno-long-long',
|
'-Wno-long-long',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user