http://d.puremagic.com/issues/show_bug.cgi?id=4176

           Summary: Link error when case range covers 4 or more cases.
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2010-05-11 14:50:59 PDT ---
void bug4176(int x) {
   switch(x){    
   case 1: .. case 4:
       break;
   }   
}
================
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
OPTLINK : Warning 23: No Stack
arr.obj(arr)
 Error 42: Symbol Undefined __d_switch_error
--- errorlevel 1

================
Doesn't happen if the range is "case 1: .. case 3:"
or if you add a "default:"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to