[cfe-dev] Patch: Add some semantic analysis to switch statements

Neil Booth neil at daikokuya.co.uk
Tue Jul 17 19:14:17 PDT 2007


Anders Carlsson wrote:-

> Hello,
> 
> here's a patch that makes sure that that the switch condition  
> expression has an integer type, and also that a switch doesn't have  

But that's not what the standard requires; it requires a scalar
type.  You can download a copy of the revised standard from the
openstd website.

Neil.



More information about the cfe-dev mailing list