Compiler return codes At the end of compilation, the compiler sets the return code to zero when no messages are issued.