lkml.org 
[lkml]   [2008]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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    [W:0.041 / U:0.628 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site