[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: warnings with integrated perl bindings

From: Ben Reser <ben_at_reser.org>
Date: 2004-06-18 18:04:01 CEST

On Fri, Jun 18, 2004 at 09:34:53AM -0500, Ben Collins-Sussman wrote:
> I'm so happy that the swig/perl bindings are just as integrated as the
> swig/python bindings now! What a convenience. But I'm getting lots
> of warnings.

*nod* I knew there would be issues. But if I didn't do it we wouldn't
see them. :)

> I'm running perl 5.8.0 on RH9.
>
> Updated to r10025, ./autogen && ./config.nice && make, and I'm getting
> dozens of perl warnings. Here are some examples:
>
>
> In file included from
> /home/sussman/projects/svn/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:20:
> /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:3310: warning:
> declaration of `exp' shadows a global declaration
> /usr/include/bits/mathcalls.h:101: warning: shadowed declaration is here
>
> (...I also get that warning for symbols 'floor' and 'send'...)

The above errors are something I can't do a darn thing about. Perl has
functions of the same name as some various functions that we get from
the C library. The warnings are actually coming from headers that are
outside of our project. Yes, they annoy me greatly. But I can't see
anyway to get rid of them.

> In file included from /usr/local/apache2/include/apr_thread_proc.h:64,
> from /usr/local/apache2/include/apr_portable.h:68,
> from
> /home/sussman/projects/svn/subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c:27:
> /usr/local/apache2/include/apr_file_io.h:624: warning: `PerlIO_stdoutf'
> is an unrecognized format function type
>
> (...I get the same warning for apr_strings.h and svn_io.h...)

Humm I haven't seen this one before. Nor can I replicate this. Can you
send me the full log of your build? What I don't get is we don't even
use PerlIO_stdoutf.

> Finally, when I run 'make' and there's nothing to do, I still get
> screen spam:
>
> $ make
> cd /home/sussman/projects/svn/subversion/bindings/swig/perl/native; make
> make[1]: Entering directory
> `/home/sussman/projects/svn/subversion/bindings/swig/perl/native'
> make[1]: Leaving directory
> `/home/sussman/projects/svn/subversion/bindings/swig/perl/native'
>
> $
>
> Can we shut that feedback off? I have to admit, I've become spoiled.
> Automake generates that kind of 'entering/leaving directory' noise,
> but I've gotten used to the golden silence of our single Makefile.

Yeah, I was going to try and find a way to turn this off. I just
haven't gotten to it yet. :)

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 18 18:04:57 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.