building HEAD on windows
| From: | Nuno Lopes | Date: | Wed, 19 Apr 2006 22:25:34 +0000 |
| Subject: | building HEAD on windows | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-22891@lists.php.net to get a copy of this message | ||
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
Index: config.w32 =================================================================== RCS file: /repository/php-src/ext/unicode/config.w32,v retrieving revision 1.7 diff -u -w -r1.7 config.w32 --- config.w32 29 Mar 2006 01:20:43 -0000 1.7 +++ config.w32 19 Apr 2006 22:13:31 -0000 @@ -1,5 +1,5 @@ // $Id: config.w32,v 1.7 2006/03/29 01:20:43 pollita Exp $ // vim:ft=javascript -EXTENSION("unicode", "unicode.c unicode_iterators.c collator.c locale.c"); +EXTENSION("unicode", "unicode.c unicode_iterators.c collator.c locale.c", false); AC_DEFINE('HAVE_UNICODE', 1, 'ICU API extension');
Index: config.w32 =================================================================== RCS file: /repository/php-src/ext/unicode/config.w32,v retrieving revision 1.7 diff -u -w -r1.7 config.w32 --- config.w32 29 Mar 2006 01:20:43 -0000 1.7 +++ config.w32 19 Apr 2006 22:13:31 -0000 @@ -1,5 +1,5 @@ // $Id: config.w32,v 1.7 2006/03/29 01:20:43 pollita Exp $ // vim:ft=javascript -EXTENSION("unicode", "unicode.c unicode_iterators.c collator.c locale.c"); +EXTENSION("unicode", "unicode.c unicode_iterators.c collator.c locale.c", false); AC_DEFINE('HAVE_UNICODE', 1, 'ICU API extension');