[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Wierd diagnostic, and gripe!
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Wierd diagnostic, and gripe! |
Date: |
Mon, 14 Feb 2005 07:55:36 +0100 |
On Mon, 14 Feb 2005 00:13:58 +0000, Julian Morrison
<address@hidden> wrote:
> Ok, I'm test-compiling my code (a more fancy replacement for the pop3 egg).
>
> -- begin pasted --
> address@hidden fetchpop]$ chicken -verbose -analyze-only advanced-pop3.scm
> Loading compiler extensions...
> debugging info: stacktrace
> compiling `advanced-pop3.scm' ...
> pass: source
> pass: canonicalized
> pass: cps
> Warning: global variable `pop3-connection-out-set!' is never used
> Warning: global variable `pop3-connection-in-set!' is never used
> Warning: global variable `pop3-connection-logger-proc-set!' is never used
> pass: analysis
> Error: (cdr) bad argument type: ()
>
> address@hidden fetchpop]$
> -- end pasted --
>
> Two wierd things. First, the code works fine if I run it in csi. Second,
> (cdr) is used nowhere in my code!
>
> And the gripe: no line numbers in parse errors! Argh! Is this the 1980s?
> *sound of grinding teeth*
>
This looks more like a bug in the compiler. Can you send me the
code, or a snippet containing code that triggers this behaviour?
What Chicken version are you using?
cheers,
felix