In general, I am very reluctant to have such guards for code that might just as well compile and instead be made optional through a boolean variable.