stops compiling

Thomas Kuehne thomas-dloop at kuehne.cn
Tue Mar 21 02:48:23 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Deewiant schrieb am 2006-03-21:
> Thomas Kuehne wrote:
>> debugger schrieb am 2006-03-19:

[snip]

>> I can't reproduce this. Are you sure the code above is complete
>> (I see no "init4")?
>
> I think he typoed and was talking about init3, as that's the behaviour I get. I
> used code like this:
>
> void init1(){}
> void init2(){
> // around 16 000 calls to init1()
> }
> void init3(){ printf("hello"); }
> void main() { init3(); }
>
> And nothing was printed when I ran the program - in fact, -v claimed that even
> main() had no code generated.
>
> Approximately halving the number of calls to init1() (I wasn't counting how
> many, just going by his approximate 16 and 8 thousand) made it work fine.

Seems to be a Windows specific bug.

Does
http://dstress.kuehne.cn/run/m/many_functions_02.d
show the same behaviour?

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFEH90A3w+/yD4P9tIRAh54AJ4gBR3KCaNAXzxbG3ZpvqFe7Ph0tQCfQiBg
thOuEeVNRR09uRqD22qbwhk=
=B+ii
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list