CVS gimp (updated 27/apr/2000) won't compile on my box.  It complains:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..                           
-I../intl-I/usr/lib/glib/include -I/usr/X11R6/include                           
-I/usr/include -DLIBDIR=\""/usr/lib/gimp/1.1"\"         
                    -g -O2 -Wall -c commands.c
commands.c:254: conflicting types for `edit_fill_cmd_callback'
commands.h:19: previous declaration of `edit_fill_cmd_callback'
commands.c:1067: conflicting types for `tools_select_cmd_callback'
commands.h:87: previous declaration of `tools_select_cmd_callback'
commands.c:1103: conflicting types for `filters_repeat_cmd_callback'
commands.h:88: previous declaration of `filters_repeat_cmd_callback'
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/usr/local/src/gimp/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gimp'
make: *** [all-recursive-am] Error 2

Here's what I have...

250: void
251: edit_fill_cmd_callback (GtkWidget *widget,
252:                    gpointer   callback_data,
253:                    guint      callback_action)
254: {

19: void edit_fill_cmd_callback (GtkWidget *, gpointer);

1063: void
1064: tools_select_cmd_callback (GtkWidget *widget,
1065:                      gpointer   callback_data,
1066:                      guint      callback_action)
1067: {

87: void tools_select_cmd_callback (GtkWidget *, gpointer);

1099: void
1100: filters_repeat_cmd_callback (GtkWidget *widget,
1101:                        gpointer   callback_data,
1102:                        guint      callback_action)
1103: {

88: void filters_repeat_cmd_callback (GtkWidget *, gpointer);

It looks like the header file only defines two arguments in the
prototype, but the actual function has three.  How is it possible that
the gimp compiles for other people and not for me?
 (__)  Doug Alcorn          | program == list of computer instructions
 oo /  [EMAIL PROTECTED]       | firmware == program that is not user modifiable
 |_/ | software == program that a user can modify
       Cincinnati, OH       | "If you don't have the source, it's not software"

Reply via email to