(Note that this is really a question for gcc-help.)

On Thu, 2009-03-12 at 23:42 +0000, Nathan Ridge wrote:

> Why does gcc not give an error about this?
> If I compile with "-Wall", it will give a WARNING saying
> "control reaches end of non-void function".

You can turn this warning into an error with -Werror.

Ben


Reply via email to