From:             victor3 dot lopes at voila dot fr
Operating system: AIX 4.3.3 ML11
PHP version:      4.3.6
PHP Bug Type:     Compile Failure
Bug description:  comment error on gd.c

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





-- 
Edit bug report at http://bugs.php.net/?id=28184&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28184&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28184&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28184&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28184&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28184&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28184&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28184&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28184&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28184&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28184&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28184&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28184&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28184&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28184&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28184&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28184&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28184&r=float

Reply via email to