Closed wantedxnn closed 1 year ago
What is your compile environment?
Compile commands, options, etc.
I fixed the problem i
changed void *var;
from line 883 with unsigned char* var;
from zstd.c
now everything it compiling w/o problems.
Environnement is windows full build snapshot with all extensions also pgi/pgo.
I think this fix can be committed to the source.
Not an error in CI environment build.
I got that error when i tried to compile php_apcu to have zstd as serialization...
APCU was not enabled when building with CI.
I was able to confirm that there was an error when I enabled it, so I fixed it.
Compilinig PHP 8.2 with extension apcu and zstd i get error:
ext\zstd\zstd.c(903): error C2036: 'void *': unknown size
If i remove apcu extension everything is fine.
Also i tried to compile zstd extension static and shared with apcu extension enabled and same error.