Skip to content

Commit 3fed34b

Browse files
committed
no narrowing
1 parent c966038 commit 3fed34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def main():
141141
cmake_args.append("-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.8")
142142

143143
if sys.platform == 'darwin' and build_contrib:
144-
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11")
144+
cmake_args.append("-DCMAKE_CXX_FLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing")
145145

146146
if sys.platform.startswith('linux'):
147147
cmake_args.append("-DWITH_IPP=OFF") # tests fail with IPP compiled with

0 commit comments

Comments
 (0)