all: use format(gnu_printf), enable in mingw
commitfff178adac3e3d1aeadbd6fb491eb62a9bb2eaeb
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:27:30 +0000 (5 18:27 +0000)
tree2b8e8f8a2aa6b74cc8e98f8e616df9da9dee52eb
parentc25b33e33aa8af4f84ea9793a24f56cf31139dbe
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>
(cherry picked from commit 15bd869108868a3f75e2a0f335c96578301e6bc1)
examples/gl_basic.c
src/utils/wflinfo.c
src/waffle/core/wcore_error.h
tests/functional/gl_basic_test.c