
On Thu, Sep 4, 2008 at 9:08 PM, Emil Dotchevski <emil@revergestudios.com> wrote:
On Thu, Sep 4, 2008 at 1:24 AM, John Maddock <john@johnmaddock.co.uk> wrote:
Emil Dotchevski wrote:
It appears that BOOST_CURRENT_FUNCTION returns '(unknown)' on sun-5.7, sun-5.8 and sun-5.9, I'm looking at
http://www.boost.org/development/tests/trunk/developer/output/Sandia-sun-boo....
Is this a bug, or is BOOST_CURRENT_FUNCTION not possible on that compiler?
Not possible I suspect: it relies on the compiler supporting the non-standard __function__ symbol.
Well, current_function.hpp has support for many compilers, using whatever implementation-specific symbol is available. I can see that it doesn't specifically address the Sun compiler.
Could someone with access to that compiler take a look?
Sun C++ supports __func__ under -features=extensions command line option. -- Simon Atanasyan