Skip to content

Tests: Mark printf wrappers with G_GNUC_PRINTF

Simon McVittie requested to merge smcv/glib:printf into master

If we tell clang that we're passing the arguments on to a compatible printf call, it can see that we're doing it right, and won't warn us about -Wformat-nonliteral. This follows up from commit abac67c0.


I can't fully test this locally, because my copy of clang didn't warn anyway, but hopefully one of the CI workers would...

Edited by Simon McVittie

Merge request reports