Skip to content

Fix clang build due to -Werror,-Wformat-nonliteral

Christoph Reiter requested to merge creiter/dia:fix-clang-build into master

myXmlErrorReporting() passes a non-literal to g_strdup_vprintf as the format string, which makes clang error out. Mark the function with G_GNUC_PRINTF(), so clang knows that this is on purpose.

This fixes the build on Windows with clang.

Merge request reports