build: Fail on any C warnings when strict
This commit is contained in:
@ -43,7 +43,7 @@ endif
|
|||||||
if get_option('strict')
|
if get_option('strict')
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
[
|
[
|
||||||
'-Werror=unused',
|
'-Werror',
|
||||||
],
|
],
|
||||||
language: 'c'
|
language: 'c'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user