Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4808 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

case 'value' is not a valid value for switch condition of type 'bool'

This warning occurs if a switch condition is of type bool and one of the case values is outside the range of bool (that is, true and false). Only true, false, 1, 0, and default are valid case values if the switch condition is of type bool.


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft