D - [BUG] Linker Error
- Manfred Nowak <svv1999 hotmail.com> Apr 18 2004
- "Walter" <walter digitalmars.com> Apr 18 2004
- Manfred Nowak <svv1999 hotmail.com> Apr 18 2004
- Ilya Minkov <minkov cs.tum.edu> Apr 19 2004
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!
Apr 18 2004
"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.
Apr 18 2004
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!
Apr 18 2004
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
Apr 19 2004








Ilya Minkov <minkov cs.tum.edu>