From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965444AbbBDWBz (ORCPT ); Wed, 4 Feb 2015 17:01:55 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:52412 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933222AbbBDWBx (ORCPT ); Wed, 4 Feb 2015 17:01:53 -0500 From: Rasmus Villemoes To: Joe Perches Cc: Andrew Morton , Michal Nazarewicz , linux-kernel@vger.kernel.org Subject: Re: [PATCH] kernel.h: Remove ancient __FUNCTION__ hack Organization: D03 References: <1423043318-29910-1-git-send-email-linux@rasmusvillemoes.dk> <1423076787.16386.9.camel@perches.com> <87egq5wg5y.fsf@rasmusvillemoes.dk> <1423083786.16386.13.camel@perches.com> X-Hashcash: 1:20:150204:joe@perches.com::a10wW9x6PMOIMBWf:002kll X-Hashcash: 1:20:150204:linux-kernel@vger.kernel.org::AFx8wd4K/UusEQlY:0000000000000000000000000000000002V2h X-Hashcash: 1:20:150204:mina86@mina86.com::TCvRGhmpTf2XO5TV:000000000000000000000000000000000000000000005M9I X-Hashcash: 1:20:150204:akpm@linux-foundation.org::5xDTc7ILBDiLPTNJ:0000000000000000000000000000000000006MnB Date: Wed, 04 Feb 2015 23:01:43 +0100 In-Reply-To: <1423083786.16386.13.camel@perches.com> (Joe Perches's message of "Wed, 04 Feb 2015 13:03:06 -0800") Message-ID: <87a90twd2w.fsf@rasmusvillemoes.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 04 2015, Joe Perches wrote: > On Wed, 2015-02-04 at 21:55 +0100, Rasmus Villemoes wrote: >> On Wed, Feb 04 2015, Joe Perches 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).