Closed Marvisak closed 2 years ago
Thanks for reporting! Looks like a problem mainly with older MSVC? In any case, now fixed in repo by using the more portable Py_ssize_t
type rather than ssize_t
. Can you build from source, or should I prepare a patch release?
I built it from source, and it works great! The issue was probably that ssize_t is actually SSIZE_T on windows, or at least that's what I found, the ssize_t thing is just for posix systems. But thanks again!
Apparently it's also an issue with VS 2022 (https://github.com/wlav/cppyy/issues/50). I put out cppyy 2.3.1 patch release with contains just this fix over 2.3.0.
Closing this after confirmation in the other report.
When building using MSVC on windows, you get an error stating that ssize_t was not defined.
Here is the whole error: