Thread overview
[Issue 23091] importC: string literals no longer convert to D string type
May 12, 2022
Walter Bright
Sep 25, 2022
Walter Bright
Dec 17, 2022
Iain Buclaw
Dec 15, 2023
Walter Bright
May 12, 2022
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
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
https://issues.dlang.org/show_bug.cgi?id=23091

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 15, 2023
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

--
December 13
https://issues.dlang.org/show_bug.cgi?id=23091

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/20097

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--