| Thread overview | |||||
|---|---|---|---|---|---|
|
July 14, 2005 -inline problem without return | ||||
|---|---|---|---|---|
| ||||
int foo() { } // No return.
int main()
{
foo();
return 0;
}
Outputs the correct:
Error: AssertError Failure test.d(1)
but add -inline to it and it turns into:
Error: Win32 Exception
and that's just for this simple example. In my larger project it caused compiler failure:
Internal error: ..\ztc\cod2.c 4364
that I can't seem to recreate with a smaller example.
| ||||
July 18, 2005 Re: -inline problem without return | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Vathix Attachments: | Vathix wrote:
| int foo() { } // No return.
| int main()
| {
| foo();
| return 0;
| }
|
|
| Outputs the correct:
| Error: AssertError Failure test.d(1)
| but add -inline to it and it turns into:
| Error: Win32 Exception
| and that's just for this simple example. In my larger project it
| caused compiler failure:
| Internal error: ..\ztc\cod2.c 4364
| that I can't seem to recreate with a smaller example.
Added to DStress as
http://dstress.kuehne.cn/norun/r/return_07_A.d
http://dstress.kuehne.cn/norun/r/return_07_B.d
Thomas
| |||
July 18, 2005 Re: -inline problem without return | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Thomas Kühne | > Added to DStress as
> http://dstress.kuehne.cn/norun/r/return_07_A.d
> http://dstress.kuehne.cn/norun/r/return_07_B.d
>
> Thomas
Error 404..
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply