RE: Control reaches end of non-void function: why only a warning?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux