On Tue, Jan 08, 2002 at 03:11:47PM -0800, Greg KH wrote: > On Tue, Jan 08, 2002 at 11:56:49PM +0100, jtv wrote: > > > > Don't have a C99 spec, but here's what info gcc has to say about it: > > > > [...description of "function names" extension as currently found in gcc...] > > > > Note that these semantics are deprecated, and that GCC 3.2 will > > handle `__FUNCTION__' and `__PRETTY_FUNCTION__' the same way as > > `__func__'. `__func__' is defined by the ISO standard C99: > > Any reason _why_ they would want to break tons of existing code in this > manner? Just the fact that the __func__ symbol is there to use? > > Since the C99 spec does not state anything about __FUNCTION__, changing > it from the current behavior does not seem like a wise thing to do. > > Any pointers to someone to complain to, or is there no chance for > reversal? Because the want people to stop using a gcc-specific way and start using the C99-mandated way instead?! Very sane imho. /David Weinehall _ _ // David Weinehall <tao _at_ acc.umu.se> /> Northern lights wander \\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \> http://www.acc.umu.se/~tao/ </ Full colour fire </ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: __FUNCTION__Andrew Morton <akpm _at_ zip.com.au>
- __FUNCTION__Vladimir Kondratiev <vladimir.kondratiev _at_ intel.com>
- Re: __FUNCTION__Greg KH <greg _at_ kroah.com>
- Re: __FUNCTION__jtv <jtv _at_ xs4all.nl>
- Re: __FUNCTION__Greg KH <greg _at_ kroah.com>
- Prev by Date: Re: [2.4.17/18pre] VM and swap - it's really unusable
- Next by Date: Re: [2.4.17/18pre] VM and swap - it's really unusable
- Previous by thread: Re: __FUNCTION__
- Next by thread: Re: __FUNCTION__
- Indexes:[Main][Thread]