Implement a function to print a warning if bytecode output is to be sent to