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
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: victor3 dot lopes at voila dot fr
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon Sep 01 05:00:03 2025 UTC