carma icon indicating copy to clipboard operation
carma copied to clipboard

Definition of `ssize_t` in `headers\carma\include\carma(28)` causes CI issue on Windows

Open Adarsh321123 opened this issue 1 year ago • 4 comments

Thanks so much for the awesome package!

I am trying to create a GitHub Action that builds the BanditPAM wheels on Windows. Here is the workflow file for reference. However, the build job fails with this exception:

headers\carma\include\carma(28): error C2371: 'ssize_t': redefinition; different basic types
C:\Users\runneradmin\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\pythonx86.3.6.8\tools\include\pyconfig.h(174): note: see declaration of 'ssize_t' 

It seems that carma and CPython3.6 from NuGet both define ssize_t, leading to the exception. Can anyone please offer some assistance so I can ship this Action in a future release of BanditPAM?

Adarsh321123 avatar Jun 27 '23 20:06 Adarsh321123