chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #27: unsigned-c-string does not work as advertised


From: Chicken Trac
Subject: [Chicken-janitors] #27: unsigned-c-string does not work as advertised
Date: Thu, 21 May 2009 16:10:48 -0000

#27: unsigned-c-string does not work as advertised
--------------------+-------------------------------------------------------
Reporter:  sjamaan  |       Owner:  felix                 
    Type:  defect   |      Status:  new                   
Priority:  minor    |   Component:  build system          
 Version:           |    Keywords:  ffi, unsigned, strings
--------------------+-------------------------------------------------------
 When trying to call a foreign C function that accepts "unsigned char *"
 arguments, I get compiler warnings "pointer targets in passing argument N
 of 'X' differ in signedness".

 This is caused because unsigned-c-string(*) results in the same generated
 code as c-string(*). This happens on Chicken 4 and also on the current
 version of Chicken 3.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/27>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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