Re: ext/gd/gd_ctx.c: In function '_php_image_stream_putc': error: 'struct gdIOCtx' has no member named 'data'

From: Date: Sun, 10 Feb 2013 18:55:51 +0000
Subject: Re: ext/gd/gd_ctx.c: In function '_php_image_stream_putc': error: 'struct gdIOCtx' has no member named 'data'
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-65760@lists.php.net to get a copy of this message
On Feb 10, 2013 7:25 PM, "Dennis Clarke" <dclarke@blastwave.org> wrote: > > > Dear PHP folks : > > I am trying to build php 5.4.11 with the GD extension and running into an error where both > GCC 4.7.2 and Oracle Studio 12.3 claim that : > > "/usr/local/build/php-5.4.11_SunOS5.10_sparcv9+GD.001/ext/gd/gd_ctx.c", line 51: error: improper member use: data > "/usr/local/build/php-5.4.11_SunOS5.10_sparcv9+GD.001/ext/gd/gd_ctx.c", line 58: error: improper member use: data > "/usr/local/build/php-5.4.11_SunOS5.10_sparcv9+GD.001/ext/gd/gd_ctx.c", line 67: error: improper member use: data There is a problem when an external library is used. Using the bundled lib fixes this problem ("--with-gd") Cheers, Pierre

« previous php.internals (#65760) next »