mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +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
@@ -61,7 +61,7 @@ void g_task_report_new_error (gpointer source_object,
|
||||
GQuark domain,
|
||||
gint code,
|
||||
const char *format,
|
||||
...);
|
||||
...) G_GNUC_PRINTF(7, 8);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_36
|
||||
void g_task_set_task_data (GTask *task,
|
||||
|
Reference in New Issue
Block a user