|
Boost : |
Subject: Re: [boost] BOOST_CURRENT_FUNCTION on Sun C++
From: Simon Atanasyan (atanasyan_at_[hidden])
Date: 2008-09-05 15:16:16
On Thu, Sep 4, 2008 at 10:03 PM, Peter Dimov <pdimov_at_[hidden]> wrote:
> Emil Dotchevski:
>
>> It appears that BOOST_CURRENT_FUNCTION returns '(unknown)' on sun-5.7,
>> sun-5.8 and sun-5.9, ...
>>
>> Is this a bug, or is BOOST_CURRENT_FUNCTION not possible on that compiler?
>
> Google tells me that __func__ might work on some Sun C++ versions, but I
> don't have access to the compiler and can't check. :-)
Sun C++ supports __func__ under -features=extensions command line option.
-- Simon Atanasyan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk