6.6.4.1.17 -Wswitch
Warn whenever a switch statement has an index of enumeral type and lacks a case for one or more of the named codes of that enumeration (the presence of a default label prevents this warning). case labels outside the enumeration range also provoke warnings when this option is used.