On Tue, 24 Nov 2020 at 00:43, Bruno Haible <br...@clisp.org> wrote: > Indeed, we did not really pay attention to the distinction between > __gnu_printf__ (which denotes standards-compliant format strings) and > > This patch corrects the attributes. >
Thanks, that's great! > Note: You may get warnings when you use format strings that contain the > PRI* macros from <inttypes.h>. This is because the mingw headers do ugly > things with these macros, and there are no two PRIdMAX macros (one for > __gnu_printf__ and one for __printf__) but only one. > Could this usefully be documented somewhere? (Although I struggle to think where I would look to find out why I was getting such warnings…) -- https://rrt.sc3d.org