On Mon, May 21, 2018 at 2:41 PM, Thomas Munro <thomas.mu...@enterprisedb.com> wrote: > I've raised this on the freebsd-hackers > list, let's see... I bet there's other software out there that just > prints out "m" when things go wrong. It's arguably something that > you'd want the complier to understand as a C dialect thing.
Result: FreeBSD printf() now supports %m, and an issue is being raised with clang about lack of warnings on OSes that don't grok %m, and lack of warnings when you say -Wformat-non-iso on any OS. Let's see how that goes. -- Thomas Munro http://www.enterprisedb.com