-
Simon McVittie authored
clang claims to be fully gcc-compatible and therefore defines `__GNUC__`, but it does not implement the `gnu_printf` flavour of format string checking: so we need to fall back to plain `printf` on clang, and we must also check for clang before gcc. Fixes: 15bd8691 "all: use format(gnu_printf), enable in mingw" Signed-off-by: Simon McVittie <smcv@collabora.com>