chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Warning: "exit" called while processing on-exit task


From: Peter Bex
Subject: Re: [Chicken-users] Warning: "exit" called while processing on-exit tasks
Date: Tue, 28 Oct 2014 13:17:01 +0100
User-agent: Mutt/1.4.2.3i

On Tue, Oct 28, 2014 at 02:13:51PM +0000, Richard wrote:
> Hello everybody,
> 
> If I link multiple units into a shared object, load the shared object
> and call (exit) I get the warning: "Warning: "exit" called while
> processing on-exit task".
> If I'm doing this in the interpreter, csi will not exit.
> 
> Here is a trivial example:
> 
> $ cat a.scm
> (declare (unit a))
> (define zooi 'a)
> 
> $ cat b.scm
> (declare (uses a))
> (print zooi)
> 
> $ csc -c a.scm b.scm ; csc -s a.o b.o -o c.so

I think you need to add -unit to that, otherwise it'll compile
adding a "main" function into those files.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

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