GDC missing betterC switch

Iain Buclaw ibuclaw at gdcproject.org
Thu Jul 18 18:50:07 UTC 2019


On Thu, 18 Jul 2019 at 18:15, Eugene Wissner via D.gnu
<d.gnu at puremagic.com> 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.out

Yes, that is using gcc to compile D code, and no that is not a typo. :-)

-- 
Iain


More information about the D.gnu mailing list