Skip to content

Fix compiler warnings with clang 16 by not using gnu_printf format

Simon McVittie requested to merge smcv/waffle:clang into master

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"

Merge request reports

Loading