June 30 [Issue 24641] ImportC: enum typedef before definition is not supported | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24641 --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> --- For reference I managed to find a very simple fix. I replaced the macro from: --- #define BL_DEFINE_ENUM(NAME) typedef enum NAME NAME; enum NAME --- to: --- #define BL_DEFINE_ENUM(NAME) enum NAME --- And then the preprocessed file can be imported into DMD nicely. -- |
Copyright © 1999-2021 by the D Language Foundation