chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] "string->number" crashed when compile into exe


From: Christian Kellermann
Subject: Re: [Chicken-users] "string->number" crashed when compile into exe
Date: Sat, 2 Mar 2013 08:46:53 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

* mao junhua <address@hidden> [130302 03:02]:
> Hi,
> the follow code works well in csi, but will crash after it is compiled into
> exe by csc. what's wrong with me? I compiled with bigloo scheme and ran, it
> works well, any suggestions would be greatly appreciated :) .
> -----------------------------
> > (define hex-char "00")
> > (define int-tmp 0)
> > (set! int-tmp (string->number hex-char 16))
> -----------------------------
> Error Message:
> -----------------------------
> > Error: (string->number) bad argument type - invalid base: #(#<procedure>
> #<inval
> > id immediate object> #(827119570
> ------------------------------
> Environment: chicken iup for windows
> ------------------------------
> > CHICKEN
> > (c)2008-2011 The Chicken Team
> > (c)2000-2007 Felix L. Winkelmann
> > Version 4.6.5
> > windows-mingw32-x86 [ manyargs dload ptables ]
> > compiled Fri 03/25/2011  on hermes (MinGW)

That's an ancient chicken, the newer windows installer mentioned
on this list has a later release where this bug has been fixed.

Cheers,

Christian

-- 
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu



reply via email to

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