FAQ
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

Search Discussions

  • Frank M. Kromann at Apr 20, 2006 at 3:43 am
    Hi Nuno,

    I'm working on a fix (actually I have been for a while but my time has
    been limited) and I just commited the fix to ext/unicode/config.w32.

    I'll continue working on the other fix tomorrow, unless someone get's
    there first.

    - Frank
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedApr 19, '06 at 10:49p
activeApr 20, '06 at 3:43a
posts2
users2
websitephp.net

2 users in discussion

Frank M. Kromann: 1 post Nuno Lopes: 1 post

People

Translate

site design / logo © 2022 Grokbase