Von neumann problem

Why is it showing warning as an error. I have tried same code on code blocks ide and it is working fine.