Sat, 04 Sep 2010 20:30:07 +0200 (CEST), hartrumpf wrote:
> Sat, 04 Sep 2010 12:19:48 +0200 (CEST), felix wrote:
>> Are these redefinitions genuine or are the warnings bogus?
> 
> The warnings are ok because I define the three functions myself.
> Can this be a problem here? 

To answer my own question: I removed my three redefinitions (which were
intended to help the optimizer), but nothing changed.

>>> Error: (=) bad argument type - not a number: #f
>>> 
>>>   Call history:
>>> 
>>>   <syntax>     (string-append (quote "/") (quote #f))
>>>   <syntax>     (quote "/")
>>>   <syntax>     (##core#quote "/")
>>>   <syntax>     (quote #f)
>>>   <syntax>     (##core#quote #f)
>>>   <eval>    (string-append (quote "/") (quote #f))
>>>   <syntax>     (string->number (quote #f))
>>>   <syntax>     (quote #f)
>>>   <syntax>     (##core#quote #f)
>>>   <eval>    (string->number (quote #f)) <--
>> 
>> This is during constant folding.

In the compiler output lines "folding constant expression:",
the above string-append expression does not occur.

Greetings
Sven

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to