On 14/02/07, Andreas Schwab <[EMAIL PROTECTED]> wrote:
Tobias Pflug <[EMAIL PROTECTED]> writes:

> That's not desirable is it ?

If you are concerned, you are free to use -Wreturn-type.  There are many
types of undefined behaviour that are not warned by default.


And Wreturn-type is enabled by -Wall. Moreover, there are many types
of undefined behaviour that are not warned at all!

Gabriel is working on a new -Wundefined option (PR 30334), so if you
find any of those, or you think that this should be warned
independently of -Wreturn-type, please add a comment to the PR.
Perhaps -Wundefined could be enabled by default like -Woverflow.

Cheers,

Manuel.

Reply via email to