diff --git a/glib/gmessages.h b/glib/gmessages.h index a38652d0c..1e146a871 100644 --- a/glib/gmessages.h +++ b/glib/gmessages.h @@ -198,7 +198,7 @@ void g_assert_warning (const char *log_domain, G_LOG_LEVEL_DEBUG, \ format) #else /* no varargs macros */ -static void g_error (const gchar *format, ...) G_ANALYZER_NORETURN; +static void g_error (const gchar *format, ...) G_GNUC_NORETURN G_ANALYZER_NORETURN; static void g_critical (const gchar *format, ...) G_ANALYZER_NORETURN; static void