Compiler Error C2047

illegal default

The keyword default can appear only within a switch statement.