all: use format(gnu_printf), enable in mingw
commit15bd869108868a3f75e2a0f335c96578301e6bc1
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 20 Nov 2022 22:55:03 +0000 (20 22:55 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 5 Mar 2023 18:04:55 +0000 (5 18:04 +0000)
tree4f1a6303e792d7612cdaed44613abd1c120646e5
parentdcf783f2e89717be549e1d979bf870ae5fa002e6
all: use format(gnu_printf), enable in mingw

The printf attribute is too generic - it usually comes in two variants
gnu_ and ms_. Since we're using the former, annotate it as such.

Kindly highlighted by the mingw-w64 compiler

Fixes: 5df13f4 ("Mark printf-like functions with the appropriate gcc attribute")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
examples/gl_basic.c
src/utils/wflinfo.c
src/waffle/core/wcore_error.h
tests/functional/gl_basic_test.c