mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson.build: make old stype defs/decls errors
This commit is contained in:
parent
8c17a6626d
commit
12a8a916dd
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,6 @@ common_flags = [
|
|||
'-Wno-missing-field-initializers',
|
||||
'-Wno-unused-parameter',
|
||||
'-Wno-pedantic',
|
||||
'-Wold-style-declaration',
|
||||
'-Wdeprecated-declarations',
|
||||
'-Wunused-result',
|
||||
]
|
||||
|
|
@ -93,6 +92,8 @@ cc_flags = common_flags + [
|
|||
# '-DSPA_DEBUG_MEMCPY',
|
||||
'-Werror=implicit-function-declaration',
|
||||
'-Werror=int-conversion',
|
||||
'-Werror=old-style-declaration',
|
||||
'-Werror=old-style-definition',
|
||||
]
|
||||
add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue