Use -Wno-c++11-narrowing when available

Needed to build boost.gil with Apple Clang 5.0
This commit is contained in:
Thomas Goyne 2013-07-04 08:29:06 -07:00
parent ecc08f5e77
commit c542922a88

View file

@ -161,6 +161,7 @@ AS_IF([test x$enable_compiler_flags != xno], [
AC_CXX_FLAG([-pipe])
AC_CXX_FLAG([-g])
AC_CXX_FLAG([-std=c++11])
AC_CXX_FLAG([-Wno-c++11-narrowing])
# -O* messes with debugging.
AS_IF([test x$enable_debug = xyes], [