r22671 - gnucash/trunk/src/app-utils - Guile2: avoid build failure on deprecated guile symbols

Geert Janssens gjanssens at code.gnucash.org
Tue Dec 18 13:10:47 EST 2012


Author: gjanssens
Date: 2012-12-18 13:10:47 -0500 (Tue, 18 Dec 2012)
New Revision: 22671
Trac: http://svn.gnucash.org/trac/changeset/22671

Modified:
   gnucash/trunk/src/app-utils/Makefile.am
Log:
Guile2: avoid build failure on deprecated guile symbols

gfec.c has 3 calls to the deprecated scm_internal_stack_catch
function. I have no idea how to replace this, so for now I
just keep the functions in place. To prevent a build failure
I have to tell the compiler to ignore the deprecated warnings.

Modified: gnucash/trunk/src/app-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/app-utils/Makefile.am	2012-12-18 11:33:58 UTC (rev 22670)
+++ gnucash/trunk/src/app-utils/Makefile.am	2012-12-18 18:10:47 UTC (rev 22671)
@@ -20,6 +20,7 @@
 pkglib_LTLIBRARIES = libgncmod-app-utils.la
 
 AM_CPPFLAGS = \
+  -Wno-error=deprecated-declarations \
   -I$(top_srcdir)/lib/libc \
   -I${top_srcdir}/src \
   -I${top_builddir}/src \



More information about the gnucash-changes mailing list