This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: __FUNCTION__ and __PRETTY_FUNCTION__
Andreas Jaeger wrote:
>
> Neil Booth <neil@daikokuya.demon.co.uk> writes:
>
> > Joseph S. Myers wrote:-
> >
> >> I think we should make them follow the C99 definition of __func__.
> >
> > OK, I'm all for that. I've had one other vote in favour of consistency
> > with g++.
When Zack & I implemented the lazy __FUNCTION__ generation back in
April, I asked about making them all behave like __func__. The
consensus then was a NO. We'd be breaking lots of important
code bases.
my suggestion: http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01506.html
zack's response: http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01556.html
1) If this is removed, then it must be done via deprecation in 3.1
and removal in 3.2
2) More heads need to consider the impact of such a change
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org