This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add macros for diagnostic control, use them in locale/weightwc.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 19 Nov 2014 14:56:09 +0000
- Subject: Re: Add macros for diagnostic control, use them in locale/weightwc.h
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1411181803130 dot 11642 at digraph dot polyomino dot org dot uk> <546BB1B1 dot 50000 at cs dot ucla dot edu> <alpine dot DEB dot 2 dot 10 dot 1411182256130 dot 18922 at digraph dot polyomino dot org dot uk> <546BDAF1 dot 8070401 at cs dot ucla dot edu> <alpine dot DEB dot 2 dot 10 dot 1411182357390 dot 18922 at digraph dot polyomino dot org dot uk> <546C3DF5 dot 3030308 at cs dot ucla dot edu>
On Tue, 18 Nov 2014, Paul Eggert wrote:
> Joseph Myers wrote:
> > the relevant time to check is when 4.9 is no
> > longer supported
>
> If that's the case, I'm having trouble seeing why it's worth our time to have
> that unchecked "4.9" into the code. If the only time the "4.9" matters is
> when we bump the min GCC release, we can simply reverify all the
> version-dependent diagnostics when that happens. That way, we don't need to
The point is it's something you can grep for so that only a subset of the
diagnostic disabling needs checking each time the minimum GCC version
increases.
--
Joseph S. Myers
joseph@codesourcery.com