Philippe M . Chiasson wrote:

> On Mon, Sep 24, 2001 at 01:08:47AM +0800, Stas Bekman wrote:

>>cc -I/home/stas/apache.org/gozer/src/modules/perl
>>-I/home/stas/apache.org/gozer/xs -I/home/stas/httpd/prefork/include
>>-D_REENTRANT -DDEBUGGING -fno-strict-aliasing -I/usr/local/include
>>-I/home/stas/perl/ithread/lib/5.7.2/i686-linux-thread-multi/CORE
>>-DMOD_PERL -DMP_USE_GTOP -Wall -Wmissing-prototypes -Wstrict-prototypes
>>-Wmissing-declarations -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER -g
>>-DMP_DEBUG -DMP_IOBUFSIZE=16384 -Werror -DMP_TRACE  -fpic \
>>-c modperl_util.c && mv modperl_util.o modperl_util.lo
>>cc1: warnings being treated as errors
>>modperl_util.c: In function `mpxs_typemap_input_APR__Table':
>>modperl_util.c:364: warning: suggest parentheses around assignment used as
>>truth value
>>make[1]: *** [modperl_util.lo] Error 1
>>make[1]: Leaving directory `/home/stas/apache.org/gozer/src/modules/perl'
>>make: *** [modperl_lib] Error 2
>>
> 
> Is modperl_util.c:364:
> 
> 
>>if (mg = mg_find(hv, PERL_MAGIC_tied)) {
>>
> 
> ??
> That's a funny message from cc (I am using gcc)


that's gcc, cc is just an symlink.


> Where does it want parentheses ??
> 
> 
>>if (mg = ( mg_find(hv, PERL_MAGIC_tied))) {
>>
> 
> or
> 
> 
>>if ((mg = mg_find(hv, PERL_MAGIC_tied))) {
>>
> 
> Can you try these 2 changes and let me know if it works...

I've tried to second, it compiles than with MP_MAINTAINER=1.

I understand that this mode for C is like use warnings => qw(FATAL); for 
Perl :)

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to