Bug report
Bug description:
Line 253 includes the file cygwin/limits.h with the comment // Needed for XATTR_SIZE_MAX and XATTR_LIST_MAX.
But this only applies to new versions of Cygwin, i.e. after June 16, 2023, as far as I understand: git-for-windows/msys2-runtime@538b29a
In previous versions, such constants are simply missing, and accordingly, errors occur during compilation
I fixed it like this:
# include <cygwin/limits.h> // Needed for XATTR_SIZE_MAX and XATTR_LIST_MAX.
# ifndef XATTR_SIZE_MAX
# define XATTR_SIZE_MAX 65536
# endif
# ifndef XATTR_LIST_MAX
# define XATTR_LIST_MAX 65536
# endif
Everything works for me, however, I have not checked the accuracy of these limits
It’s even possible, in my case, that functions that use these constants are not called at all
However, I still fixed the building for myself this way
CPython version: 3.14.4
Cygwin 3.3.6-341 (win7 32-bit)
CPython versions tested on:
3.14
Operating systems tested on:
Windows
Bug report
Bug description:
Line
253includes the filecygwin/limits.hwith the comment// Needed for XATTR_SIZE_MAX and XATTR_LIST_MAX.But this only applies to new versions of Cygwin, i.e. after June 16, 2023, as far as I understand: git-for-windows/msys2-runtime@538b29a
In previous versions, such constants are simply missing, and accordingly, errors occur during compilation
I fixed it like this:
Everything works for me, however, I have not checked the accuracy of these limits
It’s even possible, in my case, that functions that use these constants are not called at all
However, I still fixed the building for myself this way
CPython version: 3.14.4
Cygwin 3.3.6-341 (win7 32-bit)
CPython versions tested on:
3.14
Operating systems tested on:
Windows