ensuring flags/enums available at compile time