[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Tru64 and __FUNCTION__
From:       kde-devel () thewrittenword ! com
Date:       2001-10-01 23:24:23
[Download RAW message or body]

On Sun, Sep 30, 2001 at 01:02:41PM +0200, Adriaan de Groot wrote:
> Tru64 C++ has no builtin macro __FUNCTION__ like gcc does. Tom Leitner has
> patched and patched in the past for this kind of things, but I'm wondering
> if there's a more general solution: how can I detect Tru64 at compile
> time? Then I can #define __FUNCTION__ "" and be done with it, and
> portability is helped.

I think this is a GCCism. So, why not wrap usage of __FUNCTION__ with
  #ifdef __GNUC__

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic