audio/terminatorx: Fix build with Clang 6
tX_dialog.cc:569:41: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] label=gtk_label_new(PACKAGE" release "VERSION); ^ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/terminatorx-3.84_8.log
This commit is contained in:
parent
188d5de8db
commit
78e1e1aaee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476155
@ -12,3 +12,21 @@
|
||||
return (strstr(entry->d_name, "dsp")!=0);
|
||||
}
|
||||
|
||||
@@ -562,7 +566,7 @@ void show_about(int nag)
|
||||
gtk_box_pack_start(GTK_BOX(box), iwid, WID_FIX);
|
||||
gtk_box_pack_start(GTK_BOX(box), box2, WID_FIX);
|
||||
|
||||
- label=gtk_label_new(PACKAGE" release "VERSION);
|
||||
+ label=gtk_label_new(PACKAGE" release " VERSION);
|
||||
gtk_box_pack_start(GTK_BOX(box2), label, WID_DYN);
|
||||
gtk_misc_set_alignment(GTK_MISC(label), 0.1, 0.5);
|
||||
gtk_widget_show(label);
|
||||
@@ -585,7 +589,7 @@ void show_about(int nag)
|
||||
sep=gtk_hseparator_new();
|
||||
add_about_wid_fix(sep);
|
||||
|
||||
- label=gtk_label_new("This is "PACKAGE" release "VERSION" - Copyright (C) 1999-2011 by Alexander König"
|
||||
+ label=gtk_label_new("This is " PACKAGE " release " VERSION " - Copyright (C) 1999-2011 by Alexander König"
|
||||
"\nSend comments, patches and scratches to: alex@lisas.de\nterminatorX-homepage: http://www.terminatorX.org");
|
||||
|
||||
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
|
||||
|
@ -18,3 +18,12 @@
|
||||
|
||||
int res=gtk_dialog_run(GTK_DIALOG(dialog));
|
||||
gtk_widget_destroy(dialog);
|
||||
@@ -1671,7 +1671,7 @@ void create_mastergui(int x, int y)
|
||||
|
||||
add_sep2();
|
||||
|
||||
- dummy=gtk_label_new("v"VERSION);
|
||||
+ dummy=gtk_label_new("v" VERSION);
|
||||
gtk_misc_set_alignment(GTK_MISC(dummy), 1, 0.5);
|
||||
gtk_box_pack_end(GTK_BOX(status_box), dummy, WID_FIX);
|
||||
gtk_widget_show(dummy);
|
||||
|
Loading…
Reference in New Issue
Block a user