Thread overview
main return again
Jun 25, 2009
bearophile
Jun 26, 2009
Ary Borenszweig
Jun 26, 2009
bearophileHUGS
June 25, 2009
I may have found my 44th bug in DMD:

void main() { return "a"; }

It outputs to me, on Windows:
Internal error: ../ztc/cgcod.c 1479

Bye,
bearophile
June 25, 2009
On Thu, Jun 25, 2009 at 6:11 PM, bearophile<bearophileHUGS@lycos.com> wrote:
> I may have found my 44th bug in DMD:
>
> void main() { return "a"; }
>
> It outputs to me, on Windows:
> Internal error: ../ztc/cgcod.c 1479

How about instead of counting them up and posting them on the newsgroups, you put them in Bugzilla?  Or are you just completely thick?
June 26, 2009
Jarrett Billingsley wrote:
> On Thu, Jun 25, 2009 at 6:11 PM, bearophile<bearophileHUGS@lycos.com> wrote:
>> I may have found my 44th bug in DMD:
>>
>> void main() { return "a"; }
>>
>> It outputs to me, on Windows:
>> Internal error: ../ztc/cgcod.c 1479
> 
> How about instead of counting them up and posting them on the
> newsgroups, you put them in Bugzilla?  Or are you just completely
> thick?

And you should say which DMD version you used. I tried it with 2.030 and I didn't get the error.
June 26, 2009
Ary Borenszweig:
> you should say which DMD version you used. I tried it with 2.030 and I didn't get the error.

Right, sorry. I am using DMD v1.042, on Windows XP.

The bug is present in DMD v1.026 too: http://codepad.org/os02XoRn

Bye,
bearophile