gcc warns if you switch on values that are not part of the enum you're switching on. So handle those cases in the default handler by using if statments. PS: Someone file a bug against cups about this?
gcc warns if you switch on values that are not part of the enum you're switching on. So handle those cases in the default handler by using if statments. PS: Someone file a bug against cups about this?