Summary

unsigned-c-string does not work as advertised

Metadata

Description

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.

Changes and comments

[2009-05-21 18:27:22 UTC] sjamaan changed component from build system to compiler

[2009-05-22 13:08:21 UTC] felix set milestone to 4.1.0

[2009-05-26 23:47:16 UTC] felix wrote:

Please try r14799 and close the ticket if it works for you.

[2009-05-27 20:33:56 UTC] sjamaan changed status from new to closed

[2009-05-27 20:33:56 UTC] sjamaan set resolution to fixed

[2009-05-27 20:33:56 UTC] sjamaan wrote:

Yup, works fine. Thanks!

[2009-12-01 16:01:13 UTC] Milestone 4.1.0 deleted