Bug ID | 205 |
---|---|
Summary | Add pragma(inline) to the grammar |
Product | GDC |
Version | development |
Hardware | All |
OS | All |
Status | NEW |
Severity | enhancement |
Priority | Normal |
Component | gdc |
Assignee | ibuclaw@gdcproject.org |
Reporter | thomas.bockman@gmail.com |
It would be very helpful if `pragma(inline)` in its various forms was added to GDC's grammar, even if it doesn't actually do anything. Currently, even with -fignore-unknown-pragmas, GDC will choke on pragma(inline, true): Or pragma(inline, true) { } I have not found a practical way to work around this with `version` or `static if`. It's making it hard to maintain a single code base that compiles on GDC, LDC, and DMD without modifications.