[nycbug-talk] invalid type argument of '->'
Tim A.
techneck at goldenpath.org
Thu Mar 20 15:26:28 EDT 2008
Michael Hernandez wrote:
> On Mar 18, 2008, at 3:36 PM, Marc Spitzer wrote:
>
>
>> 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
>>
>>
>
> To be quite honest, I'm not sure - I guess the PHP hackers might be
> too used to hacking in PHP and so their C is getting sloppy? Which
> isn't good since PHP is written in C, not PHP. :)
>
>
I just gave it a go. Installed from port just fine on 6.2.
Stupid question, but have you tried a portsnap?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/talk/attachments/20080320/c3723a69/attachment.htm>
More information about the talk
mailing list