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

Re: -Wredundant-decls

From: Branko Èibej <brane_at_xbc.nu>
Date: 2000-12-20 19:34:01 CET

Greg Stein wrote:

> I set that the other day as a way to track down issues within SVN itself. It
> "worked fine for me" :-)

Yeah, I know. GNU/Linux is silent, so is Solaris. It probably depends on
whether the system vendors bothered to #ifdef around possibly redundant
decls or not.

> But yes... all that stuff can be annoying. Why don't we take it out for now.
> I can always add it back in at some future point on a local compile.
>
> Oh... Hmm. I bet that I could come up with a bit of autoconf magic to enable
> it only on boxes that use glibc. (or at least hardcode to linux boxes at a
> minimum)

I'd rather see this as an extra configure flag
(--enable-extra-warnings?) instead of making it platform-specific.

(GCC 3.0 won't emit warnings from headers found in system include
directories (my patch, yeah!), so we /might/ want to make that default
for --enable-maintainer-mode when it's released. But not now.)

-- 
Brane �ibej
    home:   <brane_at_xbc.nu>             http://www.xbc.nu/brane/
    work:   <branko.cibej_at_hermes.si>   http://www.hermes-softlab.com/
     ACM:   <brane_at_acm.org>            http://www.acm.org/
Received on Sat Oct 21 14:36:17 2006

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.