if statement inside while loop

Error messages are also compiler specific, not just language specific.