mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
clang errors out when using -Werror=format-nonliteral since the definition of g_strdup_vprintf() from glib-2.0 is using va_list and clangs still warns where as gcc doesn't do that for va_list arguments Fixes src/sp-window.c:96:27: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | str = g_strdup_vprintf (format, args); | ^~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>