This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]