[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 20:35:07 CET

Greg Stein wrote

>> I'd rather see this as an extra configure flag
>> (--enable-extra-warnings?) instead of making it platform-specific.
>
>
> Nah. The "extra flag" is already called --with-maintainer-mode (and yes, we
> should change that to --enable-maintainer-mode; we'd want to do the same
> within APR).

Yeah, I've been meaning to do that for some time, but it always drops to
the bottom of my list.

>
> No reason to throw yet more in there. By definition, only developers are
> using it, and we know how to add more flags. And as such, we can throw all
> kinds of stuff in there.

O.K., do it your way.

>> (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.)
>
>
> Cool. We can certainly switch on the GCC version to add more flags. (we
> already add those flags only when GCC is being used)

Maybe we could do that now (cc==gcc && gcc --version >= 2.97).

-- 
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.