[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1344: Panic on "invalid encoded numeric literal"
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1344: Panic on "invalid encoded numeric literal" error on 64-bit Windows |
Date: |
Wed, 15 Feb 2017 14:53:23 -0000 |
#1344: Panic on "invalid encoded numeric literal" error on 64-bit Windows
--------------------------------+----------------------------------
Reporter: evhan | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.13.0
Component: unknown | Version: 4.11.0
Resolution: | Keywords: windows, msys, mingw
Estimated difficulty: medium |
--------------------------------+----------------------------------
Comment (by kooda):
I’ve been investigating this issue and big-fixnum literals seem to be
wrongly generated indeed.
A “f” character is appended to all of them.
The code that generates these literals is in c-backend.scm line 1420.
{{{
(string-append "\x55" (number->string lit) "\x00")
}}}
What I don’t understand is that number->string works fine in csi!
--
Ticket URL: <https://bugs.call-cc.org/ticket/1344#comment:3>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.