We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello While installing on gentoo using command pecl install xlswriter
got following errors: In file included from /tmp/xlswriter/include/minizip/unzip.h:55, from /tmp/xlswriter/library/libxlsxio/lib/xlsxio_read.c:12: /tmp/xlswriter/include/minizip/ioapi.h:135:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘OF’ 135 | typedef voidpf (ZCALLBACK open_file_func) OF((voidpf opaque, const char filename, int mode)); | ^~ /tmp/xlswriter/include/minizip/ioapi.h:136:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘OF’ 136 | typedef uLong (ZCALLBACK read_file_func) OF((voidpf opaque, voidpf stream, void buf, uLong size)); | ^~
and so on
maybe this is because of macro OF and _Z_OF. but what should i do with this? please help
The text was updated successfully, but these errors were encountered:
resolved by adding export CFLAGS=' -DOF=_Z_OF' to /etc/profile
Sorry, something went wrong.
No branches or pull requests
Hello
While installing on gentoo using command
pecl install xlswriter
got following errors:
In file included from /tmp/xlswriter/include/minizip/unzip.h:55,
from /tmp/xlswriter/library/libxlsxio/lib/xlsxio_read.c:12:
/tmp/xlswriter/include/minizip/ioapi.h:135:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘OF’
135 | typedef voidpf (ZCALLBACK open_file_func) OF((voidpf opaque, const char filename, int mode));
| ^~
/tmp/xlswriter/include/minizip/ioapi.h:136:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘OF’
136 | typedef uLong (ZCALLBACK read_file_func) OF((voidpf opaque, voidpf stream, void buf, uLong size));
| ^~
and so on
maybe this is because of macro OF and _Z_OF. but what should i do with this? please help
The text was updated successfully, but these errors were encountered: