Skip to content

Commit

Permalink
Disable C compiler warnings entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
serebit committed Apr 6, 2024
1 parent e817d4e commit 7617918
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ project(
)

# Vala generates bad C code and missing these on gcc 14 will cause FTBFS
am_cflags = [
'-Wno-incompatible-pointer-types',
'-Wno-implicit-function-declaration',
]
# Additionally, Meson 1.4 unhides warnings from valac-generated C code,
# which causes unreadable logspam. Reenables prior behavior.
am_cflags = ['-w']
add_global_arguments(am_cflags, language: 'c')

budgie_screensaver = find_program('budgie-screensaver', required: false)
Expand Down

0 comments on commit 7617918

Please sign in to comment.