commands.[ch] conflicting types for...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"\"         -DLOCALEDIR=\""/usr/share/locale"\"-DREGEX_MALLOC                                                          -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...

commands.c==>
250: void
251: edit_fill_cmd_callback (GtkWidget *widget,
252: 			gpointer   callback_data,
253: 			guint      callback_action)
254: {

commands.h==>
19: void edit_fill_cmd_callback (GtkWidget *, gpointer);

commands.c==>
1063: void
1064: tools_select_cmd_callback (GtkWidget *widget,
1065:			   gpointer   callback_data,
1066:			   guint      callback_action)
1067: {

commands.h==>
87: void tools_select_cmd_callback (GtkWidget *, gpointer);

commands.c==>
1099: void
1100: filters_repeat_cmd_callback (GtkWidget *widget,
1101:			     gpointer   callback_data,
1102:			     guint      callback_action)
1103: {

commands.h==>
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 /  doug@xxxxxxxxx       | firmware == program that is not user modifiable
 |_/   http://www.lathi.net | software == program that a user can modify
       Cincinnati, OH       | "If you don't have the source, it's not software"



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux