[Gnucash-changes] Fix to compile with guile-1.3.4 on RH7.3 (our 1.8.x base platform).

Derek Atkins warlord at cvs.gnucash.org
Sat Feb 5 17:23:03 EST 2005


Log Message:
-----------
Fix to compile with guile-1.3.4 on RH7.3 (our 1.8.x base platform).

	* src/report/locale-specific/us/gncmod-locale-reports-us.c:
	  guile-1.3.4 gh_eal_str() requires a char*, not a const char*
	  So we're removing the const here for older systems with
	  "ancient" guile.

Tags:
----
gnucash-1-8-branch

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/report/locale-specific/us:
        gncmod-locale-reports-us.c

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1461.2.391
retrieving revision 1.1461.2.392
diff -LChangeLog -LChangeLog -u -r1.1461.2.391 -r1.1461.2.392
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,10 @@
+2005-01-05  Derek Atkins  <derek at ihtfp.com>
+
+	* src/report/locale-specific/us/gncmod-locale-reports-us.c:
+	  guile-1.3.4 gh_eal_str() requires a char*, not a const char*
+	  So we're removing the const here for older systems with
+	  "ancient" guile.
+
 2005-01-30  Derek Atkins  <derek at ihtfp.com>
 
 	* src/engine/Scrub.c:
Index: gncmod-locale-reports-us.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/report/locale-specific/us/gncmod-locale-reports-us.c,v
retrieving revision 1.7.2.4
retrieving revision 1.7.2.5
diff -Lsrc/report/locale-specific/us/gncmod-locale-reports-us.c -Lsrc/report/locale-specific/us/gncmod-locale-reports-us.c -u -r1.7.2.4 -r1.7.2.5
--- src/report/locale-specific/us/gncmod-locale-reports-us.c
+++ src/report/locale-specific/us/gncmod-locale-reports-us.c
@@ -56,13 +56,13 @@
 #else
   gboolean is_de_DE = FALSE;
 #endif /* LOCALE_SPECIFIC_TAX */
-  const char *tax_module = is_de_DE ? 
+  char *tax_module = is_de_DE ? 
     "gnucash/tax/de_DE" : 
     "gnucash/tax/us";
-  const char *report_taxtxf = is_de_DE ? 
+  char *report_taxtxf = is_de_DE ? 
     "(use-modules (gnucash report taxtxf-de_DE))" :
     "(use-modules (gnucash report taxtxf))";
-  const char *report_locale = is_de_DE ?
+  char *report_locale = is_de_DE ?
     "(use-modules (gnucash report locale-specific de_DE))" :
     "(use-modules (gnucash report locale-specific us))";
 


More information about the gnucash-changes mailing list