Skip to content

Commit

Permalink
Workaround for developing with GCC 14 (#7480)
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix authored Jun 25, 2024
1 parent 267f4bc commit a1a0bd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
SAFE_EXT_CFLAGS += ['-O2']

EXT_CFLAGS: list[str] = list(SAFE_EXT_CFLAGS)
# See also: https://github.com/cython/cython/issues/5240
EXT_CFLAGS += ['-Wno-error=incompatible-pointer-types']
EXT_LDFLAGS: list[str] = []

ROOT_PATH = pathlib.Path(__file__).parent.resolve()
Expand Down

0 comments on commit a1a0bd5

Please # to comment.