This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [patch/5.3] No __FUNCTION__


On Sun, Sep 29, 2002 at 11:41:00AM -0400, Andrew Cagney wrote:

I've committed the attached (with a hesatant ok from MarkK) (HEAD and branch).

What GDB needs is something that works regardless of the compiler.

Andrew

Where is this usage of __FUNCTION__ not portable?  Concatenating it
with things, now there's a problem; but I don't remember any compiler
that couldn't handle function(__FUNCTION__).
The macro __FUNCTION__ isn't part of ISO C 90.

Andrew



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