From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Hulin Newsgroups: gmane.lisp.guile.devel Subject: Re: Backward compatibility status Date: Sat, 20 Mar 2010 22:06:28 +0000 Message-ID: References: <87r5nxug7k.fsf@gnu.org> <87y6hu8oe5.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1269122836 24564 80.91.229.12 (20 Mar 2010 22:07:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Mar 2010 22:07:16 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 20 23:07:12 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt6p3-0000T0-Rl for guile-devel@m.gmane.org; Sat, 20 Mar 2010 23:07:10 +0100 Original-Received: from localhost ([127.0.0.1]:57136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt6p3-0006p4-5G for guile-devel@m.gmane.org; Sat, 20 Mar 2010 18:07:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nt6ot-0006or-5r for guile-devel@gnu.org; Sat, 20 Mar 2010 18:06:59 -0400 Original-Received: from [140.186.70.92] (port=34025 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt6oq-0006ns-94 for guile-devel@gnu.org; Sat, 20 Mar 2010 18:06:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nt6oo-0005PG-7v for guile-devel@gnu.org; Sat, 20 Mar 2010 18:06:56 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43412) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt6on-0005OW-Pk for guile-devel@gnu.org; Sat, 20 Mar 2010 18:06:54 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nt6oe-00009q-QX for guile-devel@gnu.org; Sat, 20 Mar 2010 23:06:44 +0100 Original-Received: from cpc3-rdng6-0-0-cust547.winn.cable.ntl.com ([82.10.50.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Mar 2010 23:06:44 +0100 Original-Received: from ian by cpc3-rdng6-0-0-cust547.winn.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Mar 2010 23:06:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 73 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-rdng6-0-0-cust547.winn.cable.ntl.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 In-Reply-To: <87y6hu8oe5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10059 Archived-At: Hi Ludo, On 14/03/10 23:38, Ludovic � wrote: > Hi Patrick, > > Patrick McCarty writes: > >> 2010/3/6 Ludovic Courtès: > > [...] > >>> | Name | Cause | >>> |---------------------------------------+-------------------------------------------------| >>> | lilypond-2.13.9 | `scm_internal_hash_fold'& `scm_t_hash_fold_fn' | >> >> Is this something that should be fixed in LilyPond? > > I think so, yes (especially since ‘scm_internal_hash_fold’ was intended > to be sort-of internal.) > >> For reference, I'm fairly certain this build failure was introduced >> with Guile commit a07010bf1828704edd9a40cadb0eaf820b8f3638. > > Yes, that’s the one. > >> If I add the typedefs to the appropriate LilyPond header file and use >> them, the problem goes away, but I don't know if there are unexpected >> side effects of this. > > I think you want a fix that retains compatibility with 1.8. How about > having a ‘configure’ test checking for this typedef? > >> I am unable to test any further, because there are more build failures >> down the pipeline. :-) > > Heh. Let us know what other Guile-related failures you stumble upon! > I patched the Lilypond header files and code calling them to get round the above problem, but then hit this one: Code like this which dynamically declares procedures,and works fine in V1.8.7 but barfs with V1.9.9 ;;; This is OK (define-public PLATFORM (string->symbol (string-downcase (car (string-tokenize (utsname:sysname (uname))))))) ;;; This is OK ;;; This fails, but works in 1.8.7 (case PLATFORM ((windows) (define native-getcwd getcwd) (define (slashify x) (if (string-index x #\\) x (string-regexp-substitute "//*" "/" (string-regexp-substitute "\\\\" "/" x)))) (define-public (ly-getcwd) (slashify (native-getcwd)))) (else (define-public ly-getcwd getcwd)))