incompatible pointer type in gnc-main-window.c (r11905)

David Reiser dbreiser at earthlink.net
Sun Nov 13 22:16:54 EST 2005


I hope you don't find me to be a pest because I can't fix these  
myself, but:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -DPREFIX=\"/opt/gnc- 
g2-unstable\" -DSYSCONFDIR=\"/opt/gnc-g2-unstable/etc\" -DDATADIR=\"/ 
opt/gnc-g2-unstable/share\" -DLIBDIR=\"/opt/gnc-g2-unstable/lib\" - 
I../../src/core-utils -I../../src/gnc-module -I../../src/engine - 
I../../src/backend/file -I../../src/network-utils -I../../src/app- 
utils -I../../src -I../../lib/goffice -I../../lib/goffice/split - 
I../../lib/glib26 -I../../lib -DORBIT2=1 -I/sw/include/libgnomeui-2.0  
-I/sw/include/libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/ 
include/gtk-2.0 -I/sw/include/libart-2.0 -I/sw/include/gconf/2 -I/sw/ 
include/libbonoboui-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
include -I/sw/include/orbit-2.0 -I/sw/include/libbonobo-2.0 -I/sw/ 
include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/ 
bonobo-activation-2.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/ 
usr/X11R6/include/freetype2 -I/sw/lib/gtk-2.0/include -I/sw/include/ 
atk-1.0 -I/sw/include/libxml2 -DORBIT2=1 -I/sw/include/libgtkhtml-3.8  
-I/sw/include/libgnomeui-2.0 -I/sw/include/libgnomeprintui-2.2 -I/sw/ 
include/libglade-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/ 
libgnomecanvas-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libart-2.0 -I/ 
sw/include/gconf/2 -I/sw/include/libbonoboui-2.0 -I/sw/include/ 
glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/ 
include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome- 
vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/ 
pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/ 
lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/libxml2 -I/sw/ 
include/libgnomeprint-2.2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
include -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/ 
include/libxml2 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/ 
include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/ 
freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/ 
include/libgnomeprint-2.2 -I/sw/include/libart-2.0 -I/sw/include/ 
glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/ 
include/pango-1.0 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/ 
libgnomecanvas-2.0 -I/usr/X11R6/include -I/usr/X11R6/include/ 
freetype2 -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/ 
include/atk-1.0 -I /sw/include/g-wrap -I../../lib/libqof/qof -I/sw/ 
include/libgsf-1 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/ 
sw/include/libxml2 -I/sw/include -g -Wall -Wunused -Wmissing- 
prototypes -Wmissing-declarations -Werror -MT gnc-main-window.lo -MD - 
MP -MF .deps/gnc-main-window.Tpo -c gnc-main-window.c  -fno-common - 
DPIC -o .libs/gnc-main-window.o
gnc-main-window.c: In function `gnc_main_window_restore_all_state':
gnc-main-window.c:568: warning: passing arg 2 of `g_key_file_to_data'  
from incompatible pointer type
gnc-main-window.c: In function `gnc_main_window_save_all_state':
gnc-main-window.c:768: warning: passing arg 2 of `g_key_file_to_data'  
from incompatible pointer type
make[5]: *** [gnc-main-window.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

gcc 3.3, mac osx 10.4.3
--
David Reiser
dbreiser at earthlink.net



More information about the gnucash-devel mailing list