Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS on i386: error: passing argument 2 of ‘PyUnicode_AsWideChar’ from incompatible pointer type [-Wincompatible-pointer-types] #15

Open
aelmahmoudy opened this issue Dec 10, 2024 · 0 comments

Comments

@aelmahmoudy
Copy link

Originally reported on Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087453

When building against Python 3.13 on i386 arch, the following build error oxcurs:
I: pybuild base:311: /usr/bin/python3.13 setup.py build pyfribidi.c: In function ‘unicode_log2vis’: pyfribidi.c:60:34: error: passing argument 2 of ‘PyUnicode_AsWideChar’ from incompatible pointer type [-Wincompatible-pointer-types] 60 | PyUnicode_AsWideChar(string, logical, length); | ^~~~~~~ | | | FriBidiChar * {aka unsigned int *} In file included from /usr/include/python3.13/Python.h:79, from pyfribidi.c:21: /usr/include/python3.13/unicodeobject.h:279:14: note: expected ‘wchar_t *’ {aka ‘long int *’} but argument is of type ‘FriBidiChar *’ {aka ‘unsigned int *’} 279 | wchar_t *w, /* wchar_t buffer */ | ~~~~~~~~~^

Full build log: https://buildd.debian.org/status/fetch.php?pkg=pyfribidi&arch=i386&ver=0.12.0%2Brepack-10%2Bb3&stamp=1731496296&raw=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant