Re: ZEND_SET_SYMBOL compilation error

From: Date: Wed, 12 Mar 2003 08:06:16 +0000
Subject: Re: ZEND_SET_SYMBOL compilation error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139237@lists.php.net to get a copy of this message
might want to post this to the developers group. php.dev Joel "Joe Wong" <joewong@tkodog.no-ip.com> wrote in message news:20030312080147.56495.qmail@pb1.pair.com... > Hi, I am writing a PHP extension on Win32. I put a ZEND_SET_SYMBOL in the > php_init_xxx_globals() and it failed to compile under Win32 using VC++ 5.0, > the error I got: > > Y:\php-4.3.0\ext\wmcphp\wmcphp.c(138) : error C2065: 'tsrm_ls' : undeclared > identifier > > Which corresponds to: > > ZEND_SET_SYMBOL(EG(active_symbol_table), "wmc_sort_by_uid", uid); > > Any idea? It can be compiled under Linux without any problem.. > > Thanks! > >

« previous php.general (#139237) next »