Warn on trying to use conditional directives on other objects