From: James Zern Date: Wed, 5 Apr 2017 04:08:51 +0000 (-0700) Subject: configure: enable -Wshorten-64-to-32 for hbd X-Git-Tag: v1.7.0~573^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ac3acf762ca450140d51616c15ca006e9e1df13;p=libvpx configure: enable -Wshorten-64-to-32 for hbd Change-Id: I4041f3fc4aabc7a2251c44c75a477b659284c3cf --- diff --git a/configure b/configure index d2bfab72b..8f4ceb047 100755 --- a/configure +++ b/configure @@ -594,11 +594,9 @@ process_toolchain() { 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 + # 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 if enabled icc; then