[nycbug-talk] invalid type argument of '->'

Marc Spitzer mspitzer at gmail.com
Tue Mar 18 15:36:59 EDT 2008


On Tue, Mar 18, 2008 at 2:46 PM, Michael Hernandez
<mhernandez at techally.com> wrote:
> I am trying to build the php5-spl port and I keep getting errors like
>  this:
>
>  /usr/ports/devel/php5-spl/work/php-5.2.5/ext/spl/php_spl.c:61: error:
>  invalid type argument of `->'
>
>  I looked at php_spl.c - I don't see what's wrong with it. The line is:
>
>  spl_globals->autoload_extensions     = NULL;
>
>
>  Is that not valid code? Is my gcc just old? I'm running out of ideas
>  here. Any help would be appreciated.

is spl_globals a pointer?  Stupid question but it is complaining that
it can not do a pointer dereference and access structure field.

marc

>
>  Thanks!
>
>  --Mike H
>
>  PS - running 6.3-STABLE, gcc 3.4.6
>  _______________________________________________
>  talk mailing list
>  talk at lists.nycbug.org
>  http://lists.nycbug.org/mailman/listinfo/talk
>



-- 
Freedom is nothing but a chance to be better.
Albert Camus



More information about the talk mailing list