What | Removed | Added |
---|---|---|
CC | yebblies@gmail.com |
(In reply to thomas.bockman from comment #2) > Nevermind - although it compiles, it turns out that my workaround doesn't > actually control inlining on DMD. > > So, I still need > pragma(inline, true): > Or > pragma(inline, true { > } > Added to the GDC grammar to be able to share one code base across all the > major compilers. What about moving the pragma inside the function? void func() { version (DigitalMars) { pragma(inline, true); } } void main() { func(); }