Re: problems compiling new PECL module

From: Date: Sat, 08 Jan 2011 22:44:34 +0000
Subject: Re: problems compiling new PECL module
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-7926@lists.php.net to get a copy of this message
On 01/09/2011 01:33 AM, Tim Gustafson wrote: > noise_abs.h: In function 'void zim_Noise_Abs_SetSourceModule(int, > zval*, zval**, zval*, int)': > noise_abs.h:69: error: expected primary-expression before '*' token > noise_abs.h:69: error: 'm' was not declared in this scope > noise_abs.h:76: error: expected primary-expression before '*' token > noise_abs.h:76: error: expected primary-expression before ')' token > noise_abs.h:76: error: expected `;' before 'zend_fetch_resource' > noise_abs.h: In function 'void zim_Noise_Abs_GetSourceModule(int, > zval*, zval**, zval*, int)': > noise_abs.h:93: error: expected primary-expression before '*' token > noise_abs.h:93: error: 'm' was not declared in this scope > noise_abs.h:102: error: invalid conversion from 'zval*' to 'long int' noise::module *m = NULL; But noise::module is a namespace, not a class. From what I can see, you should use noise::module::Module instead, since this is the base abstract class for all modules. -- Wbr, Antony Dovgal --- http://pinba.org - realtime statistics for PHP

« previous php.pecl.dev (#7926) next »