a) compiling source containing an undeclared reference merits only a warningIMO, it's not an error, and a) is a good option. �Note that if you did make it an error in all circumstances you'd badly break the system.