shithub: libvpx

Download patch

ref: 39ff0de81016ce894e1d69e2ffc58788db092485
parent: cb4aa6d589a30efc543436cf1c172fd0c4097597
parent: 06abc1ecd93ebdd0d6c0e900574f2e34ed4d135d
author: James Zern <[email protected]>
date: Thu Sep 29 23:01:55 EDT 2016

Merge "configure: test for -Wshorten-64-to-32 in non hbd builds"

--- a/configure
+++ b/configure
@@ -586,6 +586,11 @@
         if enabled mips || [ -z "${INLINE}" ]; then
           enabled extra_warnings || check_add_cflags -Wno-unused-function
         fi
+        if ! enabled vp9_highbitdepth; then
+          # Avoid this warning for third_party C++ sources. Some reorganization
+          # would be needed to apply this only to test/*.cc.
+          check_cflags -Wshorten-64-to-32 && add_cflags_only -Wshorten-64-to-32
+        fi
     fi
 
     if enabled icc; then