I'm a bit mystified here. You should have lines in your config.h matching these
/* Define if you want to disable deprecated gtk functions */ /* #undef GTK_DISABLE_DEPRECATED */ /* Define if you want to disable deprecated glib functions */ /* #undef G_DISABLE_DEPRECATED */ or similar lines where GTK_DISABLE_DEPRECATED is defined to be 1 Christian. On Tue, Sep 23, 2008 at 1:40 PM, Zulli, Louis P <[EMAIL PROTECTED]> wrote: > > I reran configure (with no options) for gtk+-2.14.2. The flag > GTK_DISABLE_DEPRECATED is not present at all in config.h. > > Louis > > > On Tue, 23 Sep 2008 13:02:18 +0200 > "Christian Anthon" <[EMAIL PROTECTED]> wrote: >> >> Unless something is wrong, deprecated gtk functions should be allowed >> by default. Rerun configure without any options, and look for >> GTK_DISABLE_DEPRECATED in config.h and tell me what you find. >> >> Christian. >> >> On Tue, Sep 23, 2008 at 12:42 PM, Zulli, Louis P <[EMAIL PROTECTED]> >> wrote: >>> >>> Thanks for the guess. I compiled gtk+-2.14.2 from source, and used no >>> special options with configure. This led to the gnubg compilation error >>> that >>> I reported. I then uninstalled gtk+-2.14.2 and compiled the earlier >>> version >>> of gtk+ in precisely the same way. No gnubg compilation error. >>> >>> I scanned the configure options for gtk+-2.14.2, but did not see anything >>> related to dis/allowing deprecated functions. How would such an option be >>> un/set if not in configure? I am somewhat of a novice regarding building >>> unix software from source. >>> >>> Thanks again. >>> >>> Louis >>> >>> >>> On Tue, 23 Sep 2008 09:30:29 +0200 >>> "Christian Anthon" <[EMAIL PROTECTED]> wrote: >>>> >>>> I'm guessing that you are trying to build with disabled deprecated gtk >>>> functions, which won't work. GtkSignalFunc is deprecated, but that is >>>> okay. Some gtk functions are declared broken, but I doubt that >>>> GtkSignalFunc is among them, even in the newest gtk. >>>> >>>> Christian. >>>> >>>> On Tue, Sep 23, 2008 at 12:34 AM, Zulli, Louis P <[EMAIL PROTECTED]> >>>> wrote: >>>>> >>>>> Attempting to build latest snapshot on a MacBook running OS X 10.5.5 >>>>> using >>>>> gcc-4.2, after upgrading to gtk+-2.14.2. The snapshot builds fine using >>>>> gtk+-2.12.12. >>>>> >>>>> >>>>> >>>>> if gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I. -I./lib -I./board3d >>>>> -I/usr/local/include/libxml2 -DLOCALEDIR=\"/usr/local/share/locale\" >>>>> -I/usr/local/include/freetype2 -I/usr/local/include -pipe >>>>> >>>>> >>>>> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 >>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>> -I/usr/local/include/libpng12 -I/usr/local/include/gtk-2.0 >>>>> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 >>>>> -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 >>>>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include >>>>> -I/usr/local/include/freetype2 -I/usr/local/include >>>>> -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1 >>>>> -I/usr/local/include/cairo -I/usr/local/include/freetype2 >>>>> -I/usr/local/include -I/usr/local/include/libpng12 >>>>> -I/usr/local/include/pixman-1 -I/usr/local/include/pango-1.0 >>>>> -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 >>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 >>>>> -I/usr/local/include -I/usr/local/include/libpng12 >>>>> -I/usr/local/include/pixman-1 -D_REENTRANT >>>>> -I/usr/local/include/glib-2.0 >>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gtkglext-1.0 >>>>> -I/usr/local/lib/gtkglext-1.0/include -I/usr/X11/include >>>>> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include >>>>> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 >>>>> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo >>>>> -I/usr/local/include/freetype2 -I/usr/local/include >>>>> -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1 >>>>> -I/usr/local/include/atk-1.0 -I/usr/local/include >>>>> -DDOCDIR='"/usr/local/share/doc/gnubg"' -DDATADIR='"/usr/local/share"' >>>>> -DPKGDATADIR='"/usr/local/share/gnubg"' -g -O2 -MT gtkrace.o -MD -MP >>>>> -MF >>>>> ".deps/gtkrace.Tpo" -c -o gtkrace.o gtkrace.c; \ >>>>> then mv -f ".deps/gtkrace.Tpo" ".deps/gtkrace.Po"; else rm -f >>>>> ".deps/gtkrace.Tpo"; exit 1; fi >>>>> In file included from gtkrace.c:36: >>>>> gtkwindows.h:50: error: expected declaration specifiers or '...' before >>>>> 'GtkSignalFunc' >>>>> gtkrace.c: In function 'GTKShowRace': >>>>> gtkrace.c:339: error: too many arguments to function 'GTKCreateDialog' >>>>> make[2]: *** [gtkrace.o] Error 1 >>>>> make[1]: *** [all-recursive] Error 1 >>>>> make: *** [all] Error 2 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Bug-gnubg mailing list >>>>> [email protected] >>>>> http://lists.gnu.org/mailman/listinfo/bug-gnubg >>>>> >>> > _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
