# building HEAD on windows

- Thread: https://externals.io/message/22891
- Original archive: https://news-web.php.net/php.internals/22891
- Started by Nuno Lopes on 2006-04-19T22:25:34+00:00
- Messages: 1
- 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

---

## #22891 — Nuno Lopes — 2006-04-19T22:25:34+00:00

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

Hi,

I'm having some troubles building latest HEAD on windows.
One of the problems is fixed with the patch attatched.

The other is more problematic. I think Visual Studio is having some problems 
with macro expansions. Checkout the errors:

ext\standard\file.c(1052) : error C2172: '_to_zstr' : actual parameter is 
not a pointer : parameter 1
ext\standard\file.c(1113) : error C2172: '_to_zstr' : actual parameter is 
not a pointer : parameter 1
ext\standard\file.c(1130) : error C2172: '_to_zstr' : actual parameter is 
not a pointer : parameter 1
ext\standard\file.c(1192) : error C2172: '_to_zstr' : actual parameter is 
not a pointer : parameter 1
ext\standard\file.c(2059) : error C2172: '_to_zstr' : actual parameter is 
not a pointer : parameter 1
ext\standard\file.c(2156) : error C2172: '_to_zstr' : actual parameter is 
not a pointer : parameter 1

After Dmitry's patch to fix the ZSTR() macros, I was already able to build 
it, but I don't have luck this time.
Anyone with same problems?

Nuno
