February 08 [Issue 24373] New: ImportC: .di generator can output invalid aliases | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24373 Issue ID: 24373 Summary: ImportC: .di generator can output invalid aliases Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: dave287091@gmail.com Example c file: typedef unsigned int uint; typedef unsigned short ushort; If you then convert to a .di file, you get something like: extern(C) { // ... bunch of junk alias uint = uint; alias ushort = ushort; // ... } Which are not valid alias declarations. -- |
Copyright © 1999-2021 by the D Language Foundation