2f5dcdd7139fea686b1ac2fe4f3a7e37e072b626 — Drew DeVault 2 months ago c390c40
Add -Wno-unused-result
2 files changed, 2 insertions(+), 1 deletions(-)

M configure
M meson.build
M configure => configure +1 -1
@@ 184,7 184,7 @@ for flag in \
 	-Wfloat-equal -Wstrict-prototypes -Wredundant-decls \
 	-Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow \
 	-Wformat=2 -Wno-missing-braces -Wno-missing-field-initializers \
-	-Wno-unused-parameter
+	-Wno-unused-parameter -Wno-unused-result
 do
 	printf "Checking for $flag... "
 	if test_cflags "$flag"

M meson.build => meson.build +1 -0
@@ 32,6 32,7 @@ add_project_arguments(cc.get_supported_arguments([
 	'-Wno-missing-braces',
 	'-Wno-missing-field-initializers',
 	'-Wno-unused-parameter',
+	'-Wno-unused-result', # fuck you glibc, and gcc, and the little dog, too
 ]), language: 'c')
 
 if get_option('readline-provider') == 'readline'