Messages in this thread | | | Date | Thu, 1 May 2008 13:53:39 +0100 | From | Al Viro <> | Subject | Re: [PATCH 09/10] misc: fix returning void-valued expression warnings |
| |
On Thu, May 01, 2008 at 03:42:14PM +0300, Boaz Harrosh wrote: > > 3. 6.8.6.4(1): A return statement with an expression shall not appear in > > a function whose return type is void. > > > > Please forgive my ignorance, where is this quote from?
C99. I don't have C90 in front of me, so I can't give you exact quote from there, but it's been explicitly banned in C90 as well.
| |