[vlc-devel] [PATCH] configure: fix compiler warning when using --enable-debug with --disable-optimizations

Rémi Denis-Courmont remi at remlab.net
Fri Feb 26 19:19:37 CET 2016


Le 2016-02-26 10:29, Steve Lhomme a écrit :
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index cd7ccbb..0624952 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1016,7 +1016,7 @@ AS_IF([test "${enable_optimizations}" != "no"], 
> [
>    ])
>    AS_IF([test "${ac_cv_c_fast_math}" = "no"], [VLC_RESTORE_FLAGS])
>    AH_BOTTOM([
> -#ifndef __FAST_MATH__
> +#if !defined(__FAST_MATH__) && defined(NDEBUG)
>  # ifndef _MSC_VER
>  #  pragma STDC FENV_ACCESS OFF
>  #  pragma STDC FP_CONTRACT ON

Why?

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list