Re: Cannot build HEAD on Win32
| From: | Nuno Lopes | Date: | Wed, 22 Feb 2006 10:18:10 +0000 |
| Subject: | Re: Cannot build HEAD on Win32 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21986@lists.php.net to get a copy of this message | ||
Yes, I'm also getting a looot of errors.
Some statements don't work on MSVS:
char *mychar;
my_function( (zstr)mychar);
VS will say: cannot convert from 'char*' to 'zstr'.
This is specially problematic in EMPTY_STR, because it won't allow you to cast it to (zstr). And AFAIR there are no anonymous structs/unions in standard C, so you must define it as a global variable.
Nuno
----- Original Message -----
http://phpfi.com/103442 --Sebastian Bergmann http://www.sebastian-bergmann.de/GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php