]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix builds with GCC 4.8.x
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Mon, 15 Jun 2015 18:21:23 +0000 (18:21 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Mon, 15 Jun 2015 18:21:23 +0000 (18:21 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12737 a1ca3aef-8c08-0410-bb20-df032aa958be

config-scripts/cups-compiler.m4

index f9c1f4df9b2c8c320329a945afdc4a2ce1018a9d..5f92d8b68dd924f6610f582eeac8b1615fcbd2a4 100644 (file)
@@ -154,7 +154,7 @@ if test -n "$GCC"; then
 
        if test "x$with_optim" = x; then
                # Add useful warning options for tracking down problems...
-               OPTIM="-Wall -Wno-format-y2k -Wunused $OPTIM"
+               OPTIM="-Wall -Wno-format-y2k -Wunused -Wno-unused-result $OPTIM"
 
                AC_MSG_CHECKING(whether compiler supports -Wsign-conversion)
                OLDCFLAGS="$CFLAGS"