Date: Thu, 15 Dec 2016 12:30:42 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: Handling of L and ll prefixes different from glibc * A. Wilcox <awilfox@...lielinux.org> [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.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.