Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 12, 2022 [Issue 23091] importC: string literals no longer convert to D string type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23091 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> --- The trouble is, the type of a string literal in C is `char*`. A D string is `(immutable char)[]`. Not sure what to do about it. -- |
September 25, 2022 [Issue 23091] importC: string literals no longer convert to D string type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23091 --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> --- `string` is (immutable char)[], which is not a C type, and so there's not much of anything C can do with it. -- |
December 17, 2022 [Issue 23091] importC: string literals no longer convert to D string type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23091 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 15 [Issue 23091] importC: string literals no longer convert to D string type | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23091 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=24158 -- |
Copyright © 1999-2021 by the D Language Foundation