GDC crt_constructor/crt_destructor pragmas missing

2019-07-19 Thread vladislavp via D.gnu
Hello, I am trying to use mir-cpuid library, written by il9 Within the library pragma(crt_constructor) is used. I can see that these two new pragmas were incorporated by this merge https://github.com/dlang/dmd/pull/7182 (and the author of mir-cpuid library commented how useful this is,

Re: GDC missing betterC switch

2019-07-19 Thread vladislavp via D.gnu
On Thursday, 18 July 2019 at 18:50:07 UTC, Iain Buclaw wrote: On Thu, 18 Jul 2019 at 18:15, Eugene Wissner via D.gnu wrote: You can get away with: module object; extern(C) int main() { return 0; } As a minimal program and it will just compile, no fancy switches required. gcc test.d && ./a.

GDC missing betterC switch

2019-07-18 Thread vladislavp via D.gnu
Hello, I am looking for help using betterC with GDC (after this, my next step was to see if I can use wxWigdets with GDC betterC without wxD wrappers) This question is essentially same as below from 2018( it did not have any answers). https://forum.dlang.org/thread/usdqpbusosanlsugw...@forum