Description of problem: I just tried to compile package gnome-utils-2.10.0-3 from Redhat Fedora Core development tree with the most excellent Intel C compiler. The compiler said 1. gtk.c(1702): warning #175: subscript out of range The source code is set_button_state(BUT_0_BAS, (0 < basevals[(int) base])); but #define BUT_0_BAS X->bas_buttons[24] and GtkWidget *bas_buttons[BROWS * BCOLS]; and ../BUILD/gnome-utils-2.10.0/gcalctool-5.5.41/gcalctool/calctool.h:#define BCOLS 4 /* No of columns of Basic Mode buttons. */ ../BUILD/gnome-utils-2.10.0/gcalctool-5.5.41/gcalctool/calctool.h:#define BROWS 5 /* No of rows of Basic Mode buttons. */ So there are only 20 buttons, and the program tries to read the 24'th. Suggest code rework. 2. zoom.c(111): warning #117: non-void function "repaint_zoom" should return a value The source code is g_return_if_fail (window->curlog); The function that this line of code is in returns int. Suggest code rework. 3. logview-findbar.c(154): warning #117: non-void function "logview_findbar_find" should return a value Duplicate. 4. gdict-app.c(59): warning #117: non-void function "gdict_init_context" should return a value Duplicate. 5. gdict-defbox.c(592): remark #592: variable "page_width" is used before its value is set The source code is pango_layout_set_width (layout, (page_width - LEFT_MARGIN - RIGHT_MARGIN) * PANGO_SCALE); Suggest init local variable "page_width" before first use. Also, the GNU C compiler says 6. logrtns.c:281: warning: too few arguments for format The source code is g_snprintf (buff, sizeof (buff), _("%s is too big.")); %s, but no trailing parameter. Suggest code rework. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hi, would you mind trying this again with the latest gnome-utils and filing separate bug reports for each issue?
(In reply to comment #1) > would you mind trying this again with the latest gnome-utils and filing separate > bug reports for each issue? I would like to be able to help, but I gave up using Redhat and Fedora over a year ago because of the quality of the support. I find Suse a much better version of Linux.
Well, thanks for your initial work. I'm going to leave this report open for now until I have time to confirm the individual issues in the latest version of gnome-utils
All of these issues appear fixed one way or the other in current versions of gnome-utils and gcalctool.