On Tue, Sep 25, 2001 at 12:31:38AM +0800, Stas Bekman wrote:
> 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 :)
Try adding -pedantic to your c options ,you'll see, it's really fun !
Next, try to make mod_perl/Perl/Apache comply ;-)
>
> _____________________________________________________________________
> 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/
>
>
--
+----------------------------------------------------+
| Philippe M. Chiasson <[EMAIL PROTECTED]> |
+----------------------------------------------------+
| F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5 |
+----------------------------------------------------+
gethostent not implemented : Your C library apparently
doesn't implement gethostent(), probably because if it did,
it'd feel morally obligated to return every hostname on the
Internet.
-- perldiag(1)
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
PGP signature