--- freem/configure.ac 2025/04/10 18:01:34 1.27 +++ freem/configure.ac 2025/04/11 20:55:47 1.28 @@ -1,5 +1,5 @@ # -# $Id: configure.ac,v 1.27 2025/04/10 18:01:34 snw Exp $ +# $Id: configure.ac,v 1.28 2025/04/11 20:55:47 snw Exp $ # autoconf rules for FreeM # # @@ -24,6 +24,9 @@ # along with FreeM. If not, see . # # $Log: configure.ac,v $ +# Revision 1.28 2025/04/11 20:55:47 snw +# Disable -Wunused-result where possible +# # Revision 1.27 2025/04/10 18:01:34 snw # Further tweaks to the autoconf configuration # @@ -108,6 +111,7 @@ AX_CHECK_COMPILE_FLAG([-Wno-format-conta AX_CHECK_COMPILE_FLAG([-Wno-stringop-truncation], [AX_APPEND_FLAG([-Wno-stringop-truncation])]) AX_CHECK_COMPILE_FLAG([-Wno-parentheses], [AX_APPEND_FLAG([-Wno-parentheses])]) AX_CHECK_COMPILE_FLAG([-Wno-pointer-sign], [AX_APPEND_FLAG([-Wno-pointer-sign])]) +AX_CHECK_COMPILE_FLAG([-Wno-unused-result], [AX_APPEND_FLAG([-Wno-unused-result])]) # check for libm AC_CHECK_LIB([m], [powf])