From 3fed34b192f7b3a557d3992d175144e39116957e Mon Sep 17 00:00:00 2001 From: Olli-Pekka Heinisuo Date: Mon, 9 Sep 2019 21:17:46 +0300 Subject: [PATCH] no narrowing --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index bf159995..4589bde8 100644 --- a/setup.py +++ b/setup.py @@ -141,7 +141,7 @@ def main(): cmake_args.append("-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8") if sys.platform == 'darwin' and build_contrib: - cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11") + cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing") if sys.platform.startswith('linux'): cmake_args.append("-DWITH_IPP=OFF") # tests fail with IPP compiled with