mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 19:07:52 +02:00
Add G_GNUC_PRINTF on all functions with format strings
This allows compilation with clang without errors, even when -Wformat-nonliteral is active (as long as there are no real cases of non literal formatting). https://bugzilla.gnome.org/show_bug.cgi?id=691608
This commit is contained in:
committed by
Colin Walters
parent
120834db5b
commit
c219181cb2
@@ -827,6 +827,7 @@ g_dbus_message_new_method_error_literal (GDBusMessage *method_call_message,
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
G_GNUC_PRINTF(3, 0)
|
||||
GDBusMessage *
|
||||
g_dbus_message_new_method_error_valist (GDBusMessage *method_call_message,
|
||||
const gchar *error_name,
|
||||
|
Reference in New Issue
Block a user