lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] scripts/checkpatch.pl: warn about using __FUNCTION__
On Mon, Jan 14, 2008 at 11:19:48PM +0100, Bartlomiej Zolnierkiewicz wrote:
>
> __FUNCTION__ is gcc specific, __func__ is C99
>
> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Research seems to indicate this is indeed sensible as __FUNCTION__ can
cause -Werror to trip. Have applied this for 0.14.

Thanks.

-apw


\
 
 \ /
  Last update: 2008-01-28 15:13    [W:0.034 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site