www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



D.gnu - [Issue 1546] New: GDC unable parse static data in switch/case

↑ ↓ ← d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1546

           Summary: GDC unable parse static data in switch/case
           Product: DGCC aka GDC
           Version: 0.23
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: binghe15 yeah.net


Just like this:
void main()
{
        switch(1)
        {
                case 0:
                        static int a = 0;
                case 1:
                        static int a = 1;
        }
}


-- 
Oct 03 2007
→ d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1546





------- Comment #1 from binghe15 yeah.net  2007-10-03 13:21 -------
Created an attachment (id=187)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=187&action=view)
test case


-- 
Oct 03 2007
→ d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1546


binghe15 yeah.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2




-- 
Oct 03 2007
→ d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1546


dvdfrdmn users.sf.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from dvdfrdmn users.sf.net  2007-10-03 17:08 -------
Fixed in svn rev 149 / release 0.25


-- 
Oct 03 2007