On Wed, Dec 14, 2016 at 5:15 PM, Diego Biurrun <[email protected]> wrote:
> -O2 is the highest warning level understood by MSVC, higher warning
> levels produce warnings.

s/warning/optimization/ ?

> ---
>  configure | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configure b/configure
> index 0fc7388..d2c256d 100755
> --- a/configure
> +++ b/configure
> @@ -3214,6 +3214,7 @@ msvc_common_flags(){
>              # Common flags
>              -fomit-frame-pointer) ;;
>              -g)                   echo -Z7 ;;
> +            -O[3-9])              echo -O2 ;;
>              -fno-math-errno)      ;;
>              -fno-common)          ;;
>              -fno-signed-zeros)    ;;
> --
> 2.1.4

We typically define the O flags per compiler already, so configure
itself would never pass anything unsupported, and anyone passing
custom cflags should know what he is passing them to, so I'm not sure
what you are actually trying to solve here, tbh.

- Hendrik
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to