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

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


Neil Booth wrote:-

> 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.

Apologies, I'm completely wrong. :)

Neil.



More information about the cfe-dev mailing list