#27 closed defect (fixed)
unsigned-c-string does not work as advertised
| Reported by: | sjamaan | Owned by: | felix winkelmann |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | compiler | Version: | |
| Keywords: | ffi, unsigned, strings | Cc: | |
| Estimated difficulty: |
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.
Change History (5)
comment:1 Changed 16 years ago by
| Component: | build system → compiler |
|---|
comment:2 Changed 16 years ago by
| Milestone: | → 4.1.0 |
|---|
comment:3 Changed 16 years ago by
Note: See
TracTickets for help on using
tickets.

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