[Bug c/21689] Variable declaration after switch case expression causes compile error

2005-09-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 14:23 --- Reopen to ... -- What|Removed |Added Status|RESOLVED

[Bug c/21689] Variable declaration after switch case expression causes compile error

2005-09-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 14:23 --- Mark as a dup of bug 7508. *** This bug has been marked as a duplicate of 7508 *** -- What|Removed |Added

[Bug c/21689] Variable declaration after switch case expression causes compile error

2005-05-20 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-05-20 23:20 --- (In reply to comment #0) If there is a variable declaration as the first statement after the colon at the end of a case expression, the compiler returns a syntax error. That is exactly as expected. After the