chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] Re: #113: Crunch egg: bug in define-crunch-primitives


From: Chicken Trac
Subject: [Chicken-janitors] Re: #113: Crunch egg: bug in define-crunch-primitives / define-crunch-callback
Date: Tue, 10 Nov 2009 18:45:14 -0000

#113: Crunch egg: bug in define-crunch-primitives / define-crunch-callback
------------------------+---------------------------------------------------
 Reporter:  jeronimo    |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  minor       |   Milestone:       
Component:  extensions  |     Version:  4.2.x
 Keywords:  crunch      |  
------------------------+---------------------------------------------------

Comment(by felix):

 Replying to [comment:3 jeronimo]:
 >
 >
 > So, the only remaining issue seems to be that callbacks are not declared
 before they are used. (But maybe this depends on local setup? You said it
 worked for you)
 >

 Sorry, I forgot to mention that you should pass `-emit-external-
 prototypes-first` to the compiler. It's a horrible hack, but it addresses
 exactly this problem.

 >
 > As to the void problem, that's OK -- I can make all my callbacks return
 ints. :-)

 That shouldn't be too hard to fix (but I don't know fir sure - crunch is a
 bit complicated).

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/113#comment:4>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]