[Issue 4093] Segfault(interpret.c): with recursive struct templates
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Fri Dec 23 15:16:13 PST 2011
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=4093
Don <clugdbug at yahoo.com.au> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
--- Comment #5 from Don <clugdbug at yahoo.com.au> 2011-12-23 15:16:04 PST ---
(In reply to comment #4)
> Although this bug is fixed in D2, it is NOT fixed for D1 (where it generates a
> stack overflow).
Don't know why I thought that. This bug never existed on D1. The stack overflow
only occurs on a debug version of DMD; on a release DMD, it generates a
"recursive template expansion" error. There's no difference between D1 and D2;
change the 'const void *' to 'enum void *' to see the D1 behaviour in D2.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list