mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
meson.build: promote two warnings to errors
Promote the following warnings to errors: * implicit-function-declaration * int-conversion because the code very likely will not work correctly if any of these two trigger.
This commit is contained in:
parent
d77ef4b05e
commit
aca5755c91
1 changed files with 2 additions and 0 deletions
|
|
@ -91,6 +91,8 @@ cc_flags = common_flags + [
|
||||||
'-D_GNU_SOURCE',
|
'-D_GNU_SOURCE',
|
||||||
'-DFASTPATH',
|
'-DFASTPATH',
|
||||||
# '-DSPA_DEBUG_MEMCPY',
|
# '-DSPA_DEBUG_MEMCPY',
|
||||||
|
'-Werror=implicit-function-declaration',
|
||||||
|
'-Werror=int-conversion',
|
||||||
]
|
]
|
||||||
add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')
|
add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue