From: "H. Peter Anvin" <hpa@zytor.com>
To: Yoann Padioleau <padator@wanadoo.fr>
Cc: Harvey Harrison <harvey.harrison@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>,
mosfet <forumer@smartmobili.com>,
linux-sparse@vger.kernel.org
Subject: Re: source code transform
Date: Sat, 31 Jan 2009 15:37:53 -0800 [thread overview]
Message-ID: <4984E0D1.6000004@zytor.com> (raw)
In-Reply-To: <87k594quiv.fsf@aryx.cs.uiuc.edu>
Yoann Padioleau wrote:
>>>
>> Personal pet-peeve, use __func__, not __FUNCTION__.
>>
>> __func__ is C, __FUNCTION__ is a gcc-extension.
>
> Ok. Is there also a __file__, and __line__ ? If this
> not the case then I would rather keep my __FUNCTION__,
> it's estetically more consistent.
>
No, it's not. __FILE__ and __LINE__ are macros (handled by the
preprocessor), but __func__ is a compiler token.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
prev parent reply other threads:[~2009-01-31 23:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-07 18:48 source code transform mosfet
2009-01-07 19:03 ` Johannes Berg
2009-01-08 7:52 ` Nicholas Mc Guire
2009-01-08 23:45 ` Yoann Padioleau
2009-01-09 0:38 ` Harvey Harrison
2009-01-09 17:06 ` Yoann Padioleau
2009-01-31 23:37 ` H. Peter Anvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4984E0D1.6000004@zytor.com \
--to=hpa@zytor.com \
--cc=forumer@smartmobili.com \
--cc=harvey.harrison@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-sparse@vger.kernel.org \
--cc=padator@wanadoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.