mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 14:38:09 +02:00
merge: branch 'meson-warnings'
build: rework -Wall and -Wextra declaration https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1868
This commit is contained in:
commit
0af1575695
1 changed files with 1 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ project(
|
|||
default_options: [
|
||||
'buildtype=debugoptimized',
|
||||
'c_std=gnu11',
|
||||
'warning_level=2' # value "2" will add "-Wall" and "-Wextra" to the compiler flags
|
||||
],
|
||||
meson_version: '>= 0.47.2',
|
||||
)
|
||||
|
|
@ -173,8 +174,6 @@ if enable_lto
|
|||
endif
|
||||
|
||||
common_flags += cc.get_supported_arguments([
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
'-Wcast-align=strict',
|
||||
'-Wdeclaration-after-statement',
|
||||
'-Wfloat-equal',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue