Don't print error messages when a deprecated function is called, make it a compile-time warning instead.