[letmein <letmein@erols.com>] fix for bug#2110
Joseph S. Myers
jsm28@cam.ac.uk
Sun May 13 05:05:00 GMT 2001
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).
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.)
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Libc-alpha
mailing list