This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [letmein <letmein@erols.com>] fix for bug#2110


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]