
22 Jun
2006
22 Jun
'06
11:12 a.m.
On Thu, 22 Jun 2006 12:54:06 +0200, "Pavel Vozenilek" <pavel_vozenilek@hotmail.com> wrote:
Digital Mars supports __FUNCTION__, __func__ and __PRETTY_FUNCTION__.
However the current_function.hpp settings result in "(unknown)" to be used all the time (as __STDC_VERSION__ is hardcoded to 19990L).
The Boost code may be appended with
... #elif (defined __DMC__) // since 8.10 # define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__ ...
The first release supporting __PRETTY_FUNCTION__ was 8.10, at some time before 2002.
Do you imply that #if defined __PRETTY_FUNCTION__ does not work? --Gennaro.