GNOME Bugzilla – Bug 747065
build error with -Werror=format-security
Last modified: 2015-03-31 08:05:31 UTC
Build fails when built with -Werror=format-security gtk-utils.c: In function '_gtk_message_dialog_new': gtk-utils.c:73:2: error: format not a string literal and no format arguments [-Werror=format-security] gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), secondary_message); ^ gtk-utils.c: In function '_gtk_error_dialog_new': gtk-utils.c:214:3: error: format not a string literal and no format arguments [-Werror=format-security] gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), secondary_message); ^ cc1: some warnings being treated as errors
Created attachment 300634 [details] [review] gtk-utils: fix missing string format argument
Created attachment 300635 [details] [review] gtk-utils: fix missing string format argument
patch applied to master, thank you.