This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: __FUNCTION__ and __PRETTY_FUNCTION__
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Sun, 9 Dec 2001 18:14:32 +0000 (GMT)
- Subject: Re: RFC: __FUNCTION__ and __PRETTY_FUNCTION__
On Sun, 9 Dec 2001, Neil Booth wrote:
> So, since g++ does not concatenate these, and it makes moving string
> concatenation out of the parser difficult, I would like to propose
> changing the documentation to state that they do not concatenate.
I think we should make them follow the C99 definition of __func__.
You'll need to decide whether they should be three distinct objects even
if their contents are all the same; they probably should (be distinct from
each other and from string literals) for consistency with __func__.
--
Joseph S. Myers
jsm28@cam.ac.uk