[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a90twd2w.fsf@rasmusvillemoes.dk>
Date: Wed, 04 Feb 2015 23:01:43 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Joe Perches <joe@...ches.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Michal Nazarewicz <mina86@...a86.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack
On Wed, Feb 04 2015, Joe Perches <joe@...ches.com> wrote:
> On Wed, 2015-02-04 at 21:55 +0100, Rasmus Villemoes wrote:
>> On Wed, Feb 04 2015, Joe Perches <joe@...ches.com> wrote:
>>
>> > On Wed, 2015-02-04 at 10:48 +0100, Rasmus Villemoes wrote:
>> >> __FUNCTION__ hasn't been treated as a string literal since gcc 3.4, so
>> >> this only helps people who only test-compile using 3.3
>> >> (compiler-gcc3.h barks at anything older than that). Besides, there
>> >> are almost no occurrences of __FUNCTION__ left in the tree.
>> >
>> > The remaining uses of __FUNCTION__ need converting first.
>>
>> Why? __FUNCTION__ is recognized just fine by gcc as an alias for __func__.
>
> And icc and clang and ...?
clang yes, icc probably (from quick googling).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists