This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] ftw.h: make gcc -pedantic happy


On Thu, Sep 13, 2012 at 9:33 PM, Dmitry V. Levin wrote:
> On Thu, Sep 13, 2012 at 04:23:11PM -0700, Roland McGrath wrote:
>> The substance of the change looks OK.  But is there really any need?
>> Aren't those warnings suppressed in system headers anyway?
>
> That patch was quite old, and I no longer have a compiler that actually
> issued that warning in system headers.  Let's suppose the patch is not
> needed nowadays.

i know that recent gcc's will not warn about stuff include via a
system include path.  it will warn about things found via -I which can
get annoying with third party libs like GNOME stuff where you do
-I/usr/include/glib/<ver>/.  but i don't think doing -I<system path>
will re-enable warnings for files found via that, so we should be safe
since ftw.h found via -I/usr/include is OK.
-mike


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