Re: cvs: php-src /ext/mysqlnd mysqlnd.c mysqlnd.h mysqlnd_block_alloc.c mysqlnd_block_alloc.h mysqlnd_debug.c mysqlnd_debug.h mysqlnd_enum_n_def.h
mysqlnd_libmysql_compat.h mysqlnd_palloc.c mysqlnd_palloc.h mysqlnd_portability.h mysqlnd_pri
| From: | Pierre Joye | Date: | Sat, 01 Nov 2008 15:01:17 +0000 |
| Subject: | Re: cvs: php-src /ext/mysqlnd mysqlnd.c mysqlnd.h mysqlnd_block_alloc.c mysqlnd_block_alloc.h mysqlnd_debug.c mysqlnd_debug.h mysqlnd_enum_n_def.h mysqlnd_libmysql_compat.h mysqlnd_palloc.c mysqlnd_palloc.h mysqlnd_portability.h mysqlnd_pri |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53818@lists.php.net to get a copy of this message | ||
2008/10/31 Andrey Hristov <andrey@php.net>:
> andrey Fri Oct 31 20:30:34 2008 UTC
hi,
> 64bit fixes:
> - fixes to sprintf modifiers, cleaning warnings
> - use _t types, like uint64_t instead of uint64, thus skipping series of
> typedefs.
That's a good step but sadly some changes broke the windows builds and
certainly on other platforms.
Type like "uint", unint16 are not part of of stdint. Part of the errors log:
ext\mysqlnd\mysqlnd.c(442) : error C2065: 'uint16' : undeclared identifier
ext\mysqlnd\mysqlnd.c(442) : error C2059: syntax error : ')'
On windows, please use:
http://cvs.php.net/viewvc.cgi/php-src/win32/php_stdint.h?view=markup
We use (or try to :) now in every extension that needs stdint, see
fileinfo or standard/crypt API for examples.
Feel free to come to me if you need any further info or tests (or a hand).
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org