X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Fri, 15 May 2015 12:12:11 +0300 From: "Eli Zaretskii (eliz AT gnu DOT org)" Subject: Re: bad pragma in dir.h? (and our structrure packing) In-reply-to: X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83y4kqgq6s.fsf@gnu.org> References: <83k2wcjt8e DOT fsf AT gnu DOT org> <83bnhojnwh DOT fsf AT gnu DOT org> <838ucsjnbl DOT fsf AT gnu DOT org> <83vbfvi3t1 DOT fsf AT gnu DOT org> <5554DF05 DOT 7020707 AT iki DOT fi> <55556DFF DOT 8020400 AT iki DOT fi> <831tiii8vj DOT fsf AT gnu DOT org> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 15 May 2015 10:51:43 +0300 > From: "Ozkan Sezer (sezeroz AT gmail DOT com)" > > > How can they produce such warnings > > without complaining about system header files, which are replete with > > unused typedefs? At the very least, they should exempt header files, > > or at least system header files, which these are. > > > > So I find it hard to believe this could be a problem. > > > > IIUC, the warnings are only for local typedefs within function bodies > and not for global ones. That's reasonable, and doesn't affect our header files. Thanks.