This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [letmein <letmein@erols.com>] fix for bug#2110
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: [letmein <letmein@erols.com>] fix for bug#2110
- From: Andreas Jaeger <aj at suse dot de>
- Date: 13 May 2001 14:15:32 +0200
- Cc: Alex Davis <alex14641 at yahoo dot com>, <libc-alpha at sources dot redhat dot com>, <letmein at erols dot com>
- References: <Pine.SOL.4.33.0105131301570.16118-200000@green.csi.cam.ac.uk>
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> On 13 May 2001, Andreas Jaeger wrote:
>
> > The appended bug report could be qualified as "GCC should not warn
> > about such stuff in system headers especially when using
> > __extension__" - and AFAIK GCC 3.0 will not warn about it.
> >
> > But since the patch just adds some casts and helps to reduce noise for
> > GCC 2.95.x, I propose to add it.
> >
> > Any objections or comments?
>
> Ulrich rejected this before
> <URL:http://sources.redhat.com/ml/libc-alpha/1999-08/msg00113.html>. But
> if you want to fix the problem, I've attached the patch I've been using
> since then (which is more thorough - handling <bits/string.h> as well -
> and removes some __extension__s that are no longer needed after the casts
> are added).
Your patch is better, I agree. I'll think about it a bit more.
> If you want to fix this sort of thing, could you also fix the "comma at
> end of enumerator list" warnings now generated by <bits/confname.h> with
> -pedantic? (Shown up by GCC bootstrap with 2.95.x as bootstrap compiler.)
That one has been fixed already.
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj