From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Thu, 25 Nov 2010 09:39:44 +0000 From: comeau@panix.com (Greg Comeau) Message-ID: References: <4CE4B9DA.2060906@gmail.com>, Subject: Re: [9fans] Plan9 development Topicbox-Message-UUID: 862394d8-ead6-11e9-9d60-3106f5b1d025 In article , Federico G. Benavento wrote: >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 I'm not sure what cpp's __FUNCTION__ is, but be careful, as it's easy to loose some semantics in subtle ways and/or corner cases when making such "easy" changes. That said, isn't cpp independent of the current compilers, and, as well, even if cpp were to support some analogous capability, cpp does not normally have capability to obtain function names as it is a later phase of translation. -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it?