Skip to content

Commit 0ba73e5

Browse files
committed
meson.build: Add -Werror=implicit-function-declaration
1 parent 0a4d1b4 commit 0ba73e5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ endforeach
4343
conf.set10('HAVE_MALLOPT', cc.has_function('mallopt', prefix: '#include <malloc.h>'))
4444

4545

46+
add_global_arguments([
47+
'-Werror=implicit-function-declaration',
48+
],
49+
language: 'c',
50+
)
51+
4652
if not get_option('deprecated_warnings')
4753
add_global_arguments([
4854
'-Wno-deprecated-declarations',

0 commit comments

Comments
 (0)