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
Building on AIX fails with not expanding SIZE_MAX #1031
Comments
I'm unfamiliar with According to the c99 standard Is AIX non-compliant, or am I totally confused? |
I tracked it down to
A look in the history of |
Thanks for investigating. I'm open to a PR that compiles for you. I'd gladly do it myself but I don't have access to an AIX machine. |
Will have a look after my vacation. My other platform will be Solaris, I will take a look at that one too. There was also some handling in |
Closing via f2e8010 |
A fresh git clone fails to build on AIX.
Surprisingly alloc.c works while hiredis.c and all other files (read.c, sds.c, ...) which would use hi_*alloc methods fail not expanding SIZE_MAX.
As a quickfix for me was removing the alloc.h from hiredis.h and adding it directly into the .c files after the fmacros.h include.
Also tried with a gcc 9 just to make sure the old gcc 6.3 is not causing any problem:
The text was updated successfully, but these errors were encountered: