lkml.org 
[lkml]   [2015]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 02/28] ACPICA: Linuxize: Replace __FUNCTION__ with __func__.
On Wed, Jun 24, 2015 at 11:02:03AM +0800, Lv Zheng wrote:
> ACPICA commit cb3d1c79f862cd368d749c9b8d9dced40111b0d0
>
> __FUNCTION__ is MSVC only, in Linux, it is __func__. Lv Zheng.
>
> In ACPICA, this is achieved by string replacement in release script and
> this patch contains the source code difference between the Linux upstream
> and ACPICA that is caused by the back porting.

__func__ is in C99 and never. __FUNCTION__ is an old extension supported
by various compilers.


\
 
 \ /
  Last update: 2015-06-24 15:21    [W:0.498 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site