Bug #14087 Updated: int8 redefinition fix in global.h
| From: | derick@php.net | Date: | Fri, 16 Nov 2001 19:50:49 +0000 |
| Subject: | Bug #14087 Updated: int8 redefinition fix in global.h | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70683@lists.php.net to get a copy of this message | ||
ID: 14087
Updated by: derick
Reported By: mseibert@us.ibm.com
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: AIX 4.3.X
PHP Version: 4.0.5
New Comment:
This should be fixed by now, try 4.1.0RC2 from www.php.net/~zeev/php-4.1.0RC2.tar.gz
(And it's actually a MySQL problem). Please reopen if it's not fixed in the RC.
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-11-16 14:48:17] mseibert@us.ibm.com
Under AIX 4.3.X, using gcc as a compiler for PHP4.0.5, under the ext/mysql/libmysql compile, there
is an error in how the int8 variable is defined (signed char vs. char). This can be fixed by
editing ext/mysql/libmysql/global.h and altering the line that reads (should be 549):
typedef char int8; /* Signed integer >= 8 bits */
to read like this block:
#ifdef _AIX
typedef signed char int8; /* Signed integer >= 8 bits*/
#else
typedef char int8; /* Signed integer >= 8 bits*/
#endif
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14087&edit=1