Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 505cdff

Browse files
authored
Merge pull request #21809 from greglucas/macosx-werror
MNT: Turn all macosx warnings into errors while building
2 parents 71d52b6 + 5e10c0c commit 505cdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ def get_extensions(self):
730730
'matplotlib.backends._macosx', [
731731
'src/_macosx.m'
732732
])
733-
ext.extra_compile_args.extend(['-Werror=unguarded-availability'])
733+
ext.extra_compile_args.extend(['-Werror'])
734734
ext.extra_link_args.extend(['-framework', 'Cocoa'])
735735
if platform.python_implementation().lower() == 'pypy':
736736
ext.extra_compile_args.append('-DPYPY=1')

0 commit comments

Comments
 (0)