From 7cc118365c4e7807adcca1d6d6316ceb521d9eba Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 5 Jan 2025 15:51:11 -0500 Subject: [PATCH] quiet down mips cross-compile Even though most of these are cast to void (but not all), the mips cross-compiler seems determined to warn about them anyway. Suppress that particular warning altogether to quiet the build. That is not the ideal approach, but if the normal way of whitelisting individual cases isn't working, I'm not sure of another course of action. --- sys/unix/hints/include/cross-pre2.370 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/unix/hints/include/cross-pre2.370 b/sys/unix/hints/include/cross-pre2.370 index b1018dc5a..9730be4da 100644 --- a/sys/unix/hints/include/cross-pre2.370 +++ b/sys/unix/hints/include/cross-pre2.370 @@ -415,7 +415,8 @@ MIPS_TARGET_CFLAGS = -c -O -I../include -I../sys/unix -I../win/share \ -Wall -Wextra -Wno-missing-field-initializers -Wreturn-type -Wunused \ -Wformat -Wswitch -Wshadow -Wwrite-strings \ -Wimplicit -Wimplicit-function-declaration -Wimplicit-int \ - -Wmissing-parameter-type -Wold-style-definition -Wstrict-prototypes + -Wmissing-parameter-type -Wold-style-definition -Wstrict-prototypes \ + -Wno-unused-result MIPS_TARGET_CXXFLAGS = -c -O -I../include -I../sys/unix -I../win/share \ $(LUAINCL) -DDLB \ -DUSE_TILES -DCROSSCOMPILE -DCROSSCOMPILE_TARGET -DCROSS_TO_MIPS \