From bfab2ff411692404c318212c18b06a553f046e5a Mon Sep 17 00:00:00 2001 From: Campbell Jones Date: Sat, 6 Apr 2024 21:17:06 -0400 Subject: [PATCH] Disable C compiler warnings entirely (#555) * Disable C compiler warnings entirely * Add back existing warning disablement --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 15066e978..4d259548b 100644 --- a/meson.build +++ b/meson.build @@ -13,7 +13,10 @@ project( ) # Vala generates bad C code and missing these on gcc 14 will cause FTBFS +# Additionally, Meson 1.4 unhides warnings from valac-generated C code, +# which causes unreadable logspam. Reenables prior behavior. am_cflags = [ + '-w', '-Wno-incompatible-pointer-types', '-Wno-implicit-function-declaration', ]