[Issue 17056] New: No filename and line info for wrong extern C++ type
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jan 2 11:59:35 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17056
Issue ID: 17056
Summary: No filename and line info for wrong extern C++ type
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: davispuh at gmail.com
Compiling D application like:
```
extern (C++) void test(string t) { };
```
will produce error:
```
Error: Internal Compiler Error: unsupported type string
```
And there's no information about which file and line this wrong type definition
is in which makes it not easy to find it if there's a lot of files and extern
declarations.
--
More information about the Digitalmars-d-bugs
mailing list