build: Fail on any C warnings when strict

This commit is contained in:
Dorota Czaplejewicz
2020-12-03 15:26:54 +00:00
parent af00d74f71
commit 2796362d34

View File

@ -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'
) )