mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
Enable missing-prototypes warning
Warn if a global function is defined without a previous prototype declaration. It is not enabled by default at warning_level=2.
This commit is contained in:
parent
8cef8bac94
commit
3c2013de10
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ project('scrcpy', 'c',
|
||||||
'b_ndebug=if-release',
|
'b_ndebug=if-release',
|
||||||
])
|
])
|
||||||
|
|
||||||
|
add_project_arguments('-Wmissing-prototypes', language: 'c')
|
||||||
|
|
||||||
if get_option('compile_app')
|
if get_option('compile_app')
|
||||||
subdir('app')
|
subdir('app')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue