gcc apparently forbids these types of consts in case statements