This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]