From: SourceForge.net <no...@so...> - 2003-08-26 08:06:24
|
Bugs item #794695, was opened at 2003-08-25 15:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=794695&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Philipp Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: switch Initial Comment: Constants are not recongnized as constant expressions: #define A 7 switch(a) { case A: break; } works, but const unsigned char A = 7; switch(a) { case a: break; } does not. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=794695&group_id=599 |