php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14087 int8 redefinition fix in global.h
Submitted: 2001-11-16 14:48 UTC Modified: 2001-11-16 14:50 UTC
From: mseibert at us dot ibm dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.5 OS: AIX 4.3.X
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mseibert at us dot ibm dot com
New email:
PHP Version: OS:

 

 [2001-11-16 14:48 UTC] mseibert at us dot ibm dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-16 14:50 UTC] derick@php.net
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC