Chris Shoemaker <[EMAIL PROTECTED]> writes:
> Modified: gnucash/trunk/src/scm/main.scm
> ===================================================================
> --- gnucash/trunk/src/scm/main.scm 2006-05-10 00:13:37 UTC (rev 13983)
> +++ gnucash/trunk/src/scm/main.scm 2006-05-10 01:53:24 UTC (rev 13984)
> @@ -17,6 +17,10 @@
>
> (define-module (gnucash main))
>
> +;; This is to silence warnings with guile-1.8:
> +(if (and (>= (string->number (major-version)) 1)
> + (>= (string->number (minor-version)) 8))
> + (default-duplicate-binding-handler 'last))
> (use-modules (ice-9 slib))
In case we care... This test will fail with guile 2.0. Granted, I
think we use this construct all over the place, but with 2.0 "close"
(well, closer..) we might want to consider changing the constructs to
works across the 1.8->2.0 changeover down the road. I suspect we
want something like:
(if (or (> (string->number (major-version)) 1)
(and (= (string->number (major-version)) 1)
(>= (string->number (minor-version)) 8)))
....
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
[EMAIL PROTECTED] PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel