August 25, 2007 [Issue 1439] New: Optlink segfault with long template string arguments | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1439 Summary: Optlink segfault with long template string arguments Product: D Version: 1.020 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: clugdbug@yahoo.com.au Seems to happen whenever the length of text equals 1024 characters. If the limit is set a little higher, compilation fails before reaching the linker. ----------------- class A(char [] text) { static if (text.length<1023) { A!("b"~text) bar() { return null; } // recursive expansion } } void main() { A!("yyy") b; } -- |
November 25, 2009 [Issue 1439] Optlink segfault with long template string arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1439 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-11-25 04:52:52 PST --- This was fixed between D1.041 and 1.045. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation