[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #372: make check error on Linux/PPC (Error: asser
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #372: make check error on Linux/PPC (Error: assertion failed: (= -1 (pointer-s8-ref some-chunk))) |
Date: |
Tue, 07 Sep 2010 14:35:44 -0000 |
#372: make check error on Linux/PPC (Error: assertion failed: (= -1
(pointer-s8-ref some-chunk)))
-----------------------+----------------------------------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone: 4.7.0
Component: compiler | Version: 4.5.0
Resolution: | Keywords: make check
-----------------------+----------------------------------------------------
Comment(by sjamaan):
Just checked and it fails here too (NetBSD/macppc). This is the old
"characters are unsigned by default on some platforms" problem we've had
before in the FFI.
This means "char *" is equivalent to "unsigned char *", which is easy to
fix; just put an explicit "signed" in front of each bare "char". A patch
follows.
--
Ticket URL: <http://bugs.call-cc.org/ticket/372#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.