Skip to content

Commit 896711c

Browse files
author
Dane Springmeyer
committed
silence -Wparentheses-equality coming from boost python macros
1 parent df8e435 commit 896711c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ def check_output(args):
173173

174174
if sys.platform == 'darwin':
175175
extra_comp_args.append('-mmacosx-version-min=10.8')
176+
# silence warning coming from boost python macros which
177+
# would is hard to silence via pragma
178+
extra_comp_args.append('-Wno-parentheses-equality')
176179
linkflags.append('-mmacosx-version-min=10.8')
177180
else:
178181
linkflags.append('-lrt')

0 commit comments

Comments
 (0)