From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10802 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Handling of L and ll prefixes different from glibc Date: Thu, 15 Dec 2016 12:30:42 +0100 Message-ID: <20161215113041.GJ16379@port70.net> References: <20161214161348.GU1555@brightrain.aerifal.cx> <20161214171756.GH16379@port70.net> <5851C9C3.6050609@adelielinux.org> <20161215023042.GW1555@brightrain.aerifal.cx> <585215B7.2070507@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1481801463 11800 195.159.176.226 (15 Dec 2016 11:31:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 11:31:03 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-10815-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 15 12:30:56 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cHUFP-0001hz-JF for gllmg-musl@m.gmane.org; Thu, 15 Dec 2016 12:30:51 +0100 Original-Received: (qmail 26100 invoked by uid 550); 15 Dec 2016 11:30:54 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26082 invoked from network); 15 Dec 2016 11:30:54 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <585215B7.2070507@adelielinux.org> Xref: news.gmane.org gmane.linux.lib.musl.general:10802 Archived-At: * A. Wilcox [2016-12-14 22:01:59 -0600]: > On 14/12/16 20:30, Rich Felker wrote: > > BTW I wonder if gcc's -Wformat catches these errors. > > It is meant to. I know that clang whines loudly on mismatched format > specifiers, and I seem to recall it even whines on format specifiers > that don't exist, but it has been a while since I checked GCC's. despite clang propaganda, gcc actually has more detailed model of printf now and thus gives better warnings https://godbolt.org/g/Z0nnEH note that clang does not warn at all, while gcc caught two bugs.