This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Control reaches end of non-void function: why only a warning?
- From: Ryan Mansfield <RMansfield at qnx dot com>
- To: Pierre Sarrazin <sarrazip at sympatico dot ca>, gcc-help at gcc dot gnu dot org
- Date: Wed, 16 Nov 2005 10:00:15 -0500
- Subject: RE: Control reaches end of non-void function: why only a warning?
> I see. Can you cite some document that confirms that this indeed
> complies with the standard? I'm trying to read more about this.
"A function may have any number of return statements." section 6.8.6.4
paragraph 2
Regards,
Ryan Mansfield