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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 02:01:30 2024 UTC