building HEAD on windows

php.internals

Rob Richards

20 years ago
Attached is a patch to allow PHP 6 to build on windows (ext/string/string.c). MS compiler doesnt allow arithmetic operations on void *. This hopefully will work everywhere as I noticed some of these were changed before to support GCC 4. Rob

William A. Rowe, Jr.

20 years ago
Rob Richards wrote:
> Attached is a patch to allow PHP 6 to build on windows > (ext/string/string.c). > MS compiler doesnt allow arithmetic operations on void *.
FYI arithmetic ops should never behave on (void *) since the sizeof(*(void*)) is, by definition, undefined.