# building HEAD on windows

- Thread: https://externals.io/message/18677
- Original archive: https://news-web.php.net/php.internals/18677
- Started by Rob Richards on 2005-09-05T13:14:07+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #18677 — Rob Richards — 2005-09-05T13:14:07+00:00

URL: https://externals.io/message/18677#18677

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

---

## #18698 — William A. Rowe — 2005-09-07T20:42:58+00:00

URL: https://externals.io/message/18677#18698 · In reply to: #18677

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.
