Build C and C++ extensions with /W4 on Windows (#168) · python/pythoncapi-compat@f6121eb · GitHub
Skip to content

Commit f6121eb

Browse files
authored
Build C and C++ extensions with /W4 on Windows (#168)
Build C and C++ extensions with /W4 on Windows on Python 3.12 and newer. Move PyAPI_FUNC() definitions to the file level. Remove also -Wno-typedef-redefinition flag.
1 parent 6290c7b commit f6121eb

2 files changed

Lines changed: 27 additions & 10 deletions

File tree

pythoncapi_compat.h

Lines changed: 19 additions & 7 deletions

tests/setup.py

Lines changed: 8 additions & 3 deletions

0 commit comments

Comments
 (0)