[patch/5.3] No __FUNCTION__
Andrew Cagney
ac131313@redhat.com
Sun Sep 29 09:54:00 GMT 2002
> 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
More information about the Gdb-patches
mailing list