www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17056] New: No filename and line info for wrong extern C++ type

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 puremagic.com
          Reporter: davispuh 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.

--
Jan 02