Skip to content

Commit 1ec0e6c

Browse files
authored
build: Disable C warnings (#190)
According to 'recommended approach' at vala documentation https://docs.vala.dev/tutorials/programming-language/main/07-00-tools/07-01-valac.html
1 parent 3055657 commit 1ec0e6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ libvala_required_version = '>= 0.40.4'
1515
libvala_dep = dependency('libvala-@0@'.format(libvala_version), version: libvala_required_version)
1616
json_dep = dependency('json-glib-1.0')
1717

18+
add_project_arguments(
19+
'-w',
20+
language: 'C'
21+
)
22+
1823
subdir('lib')
1924
subdir('src')
2025
subdir('test')

0 commit comments

Comments
 (0)