From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4CE5DB8A.2010507@gmail.com> Date: Thu, 18 Nov 2010 21:06:02 -0500 From: "Joel C. Salomon" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: 9fans@9fans.net References: <4CE4B9DA.2060906@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [9fans] Plan9 development Topicbox-Message-UUID: 85709e78-ead6-11e9-9d60-3106f5b1d025 On 11/18/2010 05:50 PM, Federico G. Benavento wrote: > On Thu, Nov 18, 2010 at 2:30 AM, Joel C. Salomon wrote: >> Why is __func__ listed as “unwanted”? I’ve found it useful for some >> logging functions. >> > isn't this redundant with cpp(1)'s __FUNCTION__? > > if __FUNCTION__ isn't standard, then we should change > it to __func__ in cpp and that's it Um, how can the preprocessor know what function it’s in middle of? (That’s why, unlike the preprocessor symbols __FILE__ & __LINE__, C99’s __func__ is an identifier.) --Joel