Compiler Error C2052

case expression not integral

Case expressions must be integral constants.