[Issue 18716] New: [ICE] type const(char)[] can not be mapped to C++

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 3 18:23:52 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18716

          Issue ID: 18716
           Summary: [ICE] type const(char)[] can not be mapped to C++
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: doob at me.com

The following code:

extern (C++) void foo(const(char)[]) {}

Gives the following error:

Error: Internal Compiler Error: type const(char)[] can not be mapped to C++

--


More information about the Digitalmars-d-bugs mailing list