lkml.org 
[lkml]   [2008]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 1 May 2008 13:53:39 +0100
FromAl Viro <>
SubjectRe: [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.


\
 
 \ /
  Last update: 2008-05-01 14:57    [from the cache]
©2003-2010