digitalmars.D.bugs - [Issue 1439] New: Optlink segfault with long template string arguments
- d-bugmail puremagic.com (28/28) Aug 25 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1439
- d-bugmail puremagic.com (11/11) Nov 25 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1439
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; } --
Aug 25 2007
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: -------
Nov 25 2009