Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 19, 2004 [BUG] Linker Error | ||||
---|---|---|---|---|
| ||||
WinXP dmd 0.82 <code> void main(){ version(err) static int[ 9150465] arr; else static int[ 9150464] arr; } </code> yields a linker error when compiled with version=err. So long! |
April 19, 2004 Re: [BUG] Linker Error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | "Manfred Nowak" <svv1999@hotmail.com> wrote in message news:c5v850$p2u$1@digitaldaemon.com... > WinXP dmd 0.82 > > <code> > void main(){ > version(err) > static int[ 9150465] arr; > else > static int[ 9150464] arr; > } > </code> > > yields a linker error when compiled with version=err. Yes, it's a known bug in optlink that it fails with enormous static data arrays. The workaround is to new them. |
April 19, 2004 Re: [BUG] Linker Error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote:
> Yes, it's a known bug in optlink that it fails with enormous static data arrays. The workaround is to new them.
It is time to fix that: under Win64 the linker goes into an infinite loop.
So long!
|
April 19, 2004 Re: [BUG] Linker Error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | Manfred Nowak schrieb: > It is time to fix that: under Win64 the linker goes into an infinite loop. There is another linker which fixes that here: http://cmeerw.org/prog/owtools/ Walter has said his OPTLINK refuses to be changed, since it's a huge tool written all in handoptimized assembly. -eye |
Copyright © 1999-2021 by the D Language Foundation