php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28184 comment error on gd.c
Submitted: 2004-04-27 16:50 UTC Modified: 2004-04-27 16:59 UTC
From: victor3 dot lopes at voila dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.6 OS: AIX 4.3.3 ML11
Private report: No CVE-ID: None
 [2004-04-27 16:50 UTC] victor3 dot lopes at voila dot fr
Description:
------------
I compile php 4.3.6 on a AIX 4.3.3 ML11 with native compiler
XLC.

I found the following error
ext/gd/libgd/gd.c", line 1874.9: 1506-046 (S) Syntax error.

ext/gd/libgd/gd.c", line 1875.9: 1506-275 (S) Unexpected text 'struct' encountered.

ext/gd/libgd/gd.c", line 1875.16: 1506-045 (S) Undeclared identifier seg.
ext/gd/libgd/gd.c", line 1876.9: 1506-275 (S) Unexpected text 'struct' encountered.
ext/gd/libgd/gd.c", line 1887.9: 1506-025 (S) Operand must be a modifiable lvalue.
make: The error code from the last command is 1.

I have modified the following line :
// struct seg stack[FILL_MAX],*sp = stack;;

by

/*struct seg stack[FILL_MAX],*sp = stack;; */

The compilation works well after !

The problem exist also on version 4.3.5 and perhaps older !

victor





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-27 16:59 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 14:01:30 2024 UTC