From 45cf86a911bff8037d66be25628fddf904647e7b Mon Sep 17 00:00:00 2001 From: Fantix King Date: Tue, 23 Jul 2024 16:24:02 -0400 Subject: [PATCH] Fix build on GCC 14 (#510) --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c5d0ebbb..2790c622 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,10 @@ if SYSTEM != 'win32': CFLAGS.extend(['-std=gnu99', '-fsigned-char', '-Wall', - '-Wsign-compare', '-Wconversion']) + '-Wsign-compare', '-Wconversion', + # See also: https://github.com/cython/cython/issues/5240 + '-Wno-error=incompatible-pointer-types', + ]) if SYSTEM == 'darwin': # Lots of warnings from the standard library on macOS 10.14