Skip to content

Commit 45cf86a

Browse files
authored
Fix build on GCC 14 (#510)
1 parent 7141d3c commit 45cf86a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@
8282

8383
if SYSTEM != 'win32':
8484
CFLAGS.extend(['-std=gnu99', '-fsigned-char', '-Wall',
85-
'-Wsign-compare', '-Wconversion'])
85+
'-Wsign-compare', '-Wconversion',
86+
# See also: https://github.com/cython/cython/issues/5240
87+
'-Wno-error=incompatible-pointer-types',
88+
])
8689

8790
if SYSTEM == 'darwin':
8891
# Lots of warnings from the standard library on macOS 10.14

0 commit comments

Comments
 (0)