winmm: Avoid casting return value of Heap(Re)Alloc calls.

Austin English austinenglish at gmail.com
Sun Oct 23 17:18:23 CDT 2011


On Sun, Oct 23, 2011 at 08:43, Dan Kegel <dank at kegel.com> wrote:
> Debugged version:
>
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1715,6 +1715,20 @@ then
>   if test "x$enable_maintainer_mode" = "xyes"
>   then
>       WINE_TRY_CFLAGS([-Werror])
> +  else
> +    dnl Enable -Werror when building from git on 32 bit x86 with a
> known good version of gcc
> +    case $host_cpu in
> +      *i[[3456789]]86*)
> +        if test "x${GCC}" = "xyes" && test -d $srcdir/.git
> +        then
> +          gcc_version=`$CC -v 2>&1 | grep "gcc version" | sed 's/gcc
> version //'`
> +          case $gcc_version in
> +          4.[[3456]].*)
> +            WINE_TRY_CFLAGS([-Werror]) ;;
> +          esac
> +        fi
> +      ;;
> +    esac
>   fi
>
>   dnl Check for ms_hook_prologue support
>

This has come up a few times before, and it's already been discussed,
-Werror will not go in by default.

-- 
-Austin



More information about the wine-devel mailing list