How do I generate an error for a missing return statement under GCC?
cpfsfuse.c:184: warning: no return statement in function returning non-void
I'm able to return errors for implicit function declaration (-Werror-implicit-function-declaration
), and I'm aware of a -Werror=
switch, but I can't locate an appropriate warning to promote to error status.
How can I achieve this?