GDC missing betterC switch

vladislavp vladislavp at outlook.com
Fri Jul 19 11:45:38 UTC 2019


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 
> <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. :-)

Thank you Ian, Eugene.
I got it.


More information about the D.gnu mailing list