! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Additional Comments
Status:
RESOLVED: WONTFIX
Priority:
Very Low
Severity:
trivial
Product:
Xfce4-timer-plugin
Component:
General

Comments

Description poma 2014-11-18 09:11:16 CET
$ make
make  all-recursive
make[1]: Entering directory '/home/poma/rpmbuild/BUILD/xfce4-timer-plugin-1.6.0'
Making all in src
make[2]: Entering directory '/home/poma/rpmbuild/BUILD/xfce4-timer-plugin-1.6.0/src'
gcc -DHAVE_CONFIG_H -I. -I..    -I.. -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -c -o xfce4_timer-xfcetimer.o `test -f 'xfcetimer.c' || echo './'`xfcetimer.c
xfcetimer.c: In function ‘_xpp_realize’:
xfcetimer.c:60:9926: warning: passing argument 1 of ‘gtk_widget_get_realized’ from incompatible pointer type
 XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(create_plugin_control);

 ^
In file included from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35:0,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from xfcetimer.c:37:
/usr/include/gtk-2.0/gtk/gtkwidget.h:981:10: note: expected ‘struct GtkWidget *’ but argument is of type ‘struct GtkPlug *’
 gboolean              gtk_widget_get_realized           (GtkWidget    *widget);
          ^
xfcetimer.c: In function ‘update_function’:
xfcetimer.c:193:37: error: format not a string literal and no format arguments [-Werror=format-security]
                                     GTK_BUTTONS_NONE, dialog_message);
                                     ^
xfcetimer.c: In function ‘start_timer’:
xfcetimer.c:281:12: warning: unused variable ‘is_cd’ [-Wunused-variable]
   gboolean is_cd;
            ^
xfcetimer.c:279:36: warning: unused variable ‘time’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
                                    ^
xfcetimer.c:279:8: warning: unused variable ‘row_count’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
        ^
xfcetimer.c:277:11: warning: unused variable ‘group’ [-Wunused-variable]
   GSList *group=NULL;
           ^
xfcetimer.c: In function ‘start_stop_selected’:
xfcetimer.c:367:12: warning: unused variable ‘alrm’ [-Wunused-variable]
   alarm_t *alrm;
            ^
xfcetimer.c:366:14: warning: unused variable ‘current’ [-Wunused-variable]
   struct tm *current;
              ^
xfcetimer.c:365:12: warning: unused variable ‘timeval’ [-Wunused-variable]
   GTimeVal timeval;
            ^
xfcetimer.c:364:12: warning: unused variable ‘is_cd’ [-Wunused-variable]
   gboolean is_cd;
            ^
xfcetimer.c:363:8: warning: unused variable ‘timeout_period’ [-Wunused-variable]
   gint timeout_period;
        ^
xfcetimer.c:362:36: warning: unused variable ‘time’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
                                    ^
xfcetimer.c:362:30: warning: unused variable ‘cur_s’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
                              ^
xfcetimer.c:362:24: warning: unused variable ‘cur_m’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
                        ^
xfcetimer.c:362:18: warning: unused variable ‘cur_h’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
                  ^
xfcetimer.c:362:8: warning: unused variable ‘row_count’ [-Wunused-variable]
   gint row_count,cur_h,cur_m,cur_s,time;
        ^
xfcetimer.c:361:9: warning: unused variable ‘temp’ [-Wunused-variable]
   gchar temp[8];
         ^
xfcetimer.c:360:11: warning: unused variable ‘group’ [-Wunused-variable]
   GSList *group=NULL;
           ^
xfcetimer.c: In function ‘make_menu’:
xfcetimer.c:475:25: warning: unused variable ‘to_be_activated’ [-Wunused-variable]
   GtkWidget *menuitem, *to_be_activated;
                         ^
xfcetimer.c: In function ‘add_edit_clicked’:
xfcetimer.c:776:23: warning: unused variable ‘is_cd’ [-Wunused-variable]
   gchar *nc; gboolean is_cd; gint time;
                       ^
xfcetimer.c:776:10: warning: unused variable ‘nc’ [-Wunused-variable]
   gchar *nc; gboolean is_cd; gint time;
          ^
xfcetimer.c: In function ‘load_settings’:
xfcetimer.c:1153:11: warning: implicit declaration of function ‘g_sprintf’ [-Wimplicit-function-declaration]
           g_sprintf(groupname,"G0");
           ^
xfcetimer.c: In function ‘create_plugin_control’:
xfcetimer.c:1754:8: warning: unused variable ‘command’ [-Wunused-variable]
   char command[1024];
        ^
xfcetimer.c:1753:16: warning: unused variable ‘tooltip’ [-Wunused-variable]
   GtkTooltips *tooltip;
                ^
xfcetimer.c:1752:49: warning: unused variable ‘pbar2’ [-Wunused-variable]
   GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
                                                 ^
xfcetimer.c:1752:44: warning: unused variable ‘box’ [-Wunused-variable]
   GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
                                            ^
xfcetimer.c:1752:34: warning: unused variable ‘menuitem’ [-Wunused-variable]
   GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
                                  ^
xfcetimer.c:1752:26: warning: unused variable ‘socket’ [-Wunused-variable]
   GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
                          ^
xfcetimer.c:1752:20: warning: unused variable ‘menu’ [-Wunused-variable]
   GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
                    ^
xfcetimer.c:1752:14: warning: unused variable ‘base’ [-Wunused-variable]
   GtkWidget *base,*menu,*socket,*menuitem,*box,*pbar2;
              ^
cc1: some warnings being treated as errors
Makefile:466: recipe for target 'xfce4_timer-xfcetimer.o' failed
make[2]: *** [xfce4_timer-xfcetimer.o] Error 1
make[2]: Leaving directory '/home/poma/rpmbuild/BUILD/xfce4-timer-plugin-1.6.0/src'
Makefile:396: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/poma/rpmbuild/BUILD/xfce4-timer-plugin-1.6.0'
Makefile:327: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 poma 2014-11-18 09:17:46 CET
Enable "-Werror=format-security" by default
https://fedorahosted.org/fesco/ticket/1185
Comment 2 Landry Breuil editbugs 2014-11-23 21:44:41 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 3 poma 2014-11-24 22:54:40 CET
Additional Comments

Bug #11310

Reported by:
poma
Reported on: 2014-11-18
Last modified on: 2014-11-24

People

Assignee:
Xfce-Goodies Maintainers
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information