From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2003-05-23 14:02:32
----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
Sent: Friday, May 23, 2003 2:59 PM
Subject: Re: Fix: current_function.hpp
> Pavel Vozenilek wrote:
> > current_function.hpp doesn't include Intel C++ where __FUNCTION__ can
> > be used.
> If you put
> #elif defined(__FUNCTION__)
> # define BOOST_CURRENT_FUNCTON __FUNCTION__
> in current_function.hpp, does it work on Intel?
No it doesn't. It isn't 'defined'.
const char* x = __FUNCTION__; works
#if defined (__FUNCTION__) doesn't;
#define BOOST_CURRENT_FUNCTON __FUNCTION__
has the expected effect.
Intel recomended way to recognize its compiler is testing against
__INTEL_COMPILER (numeric, version 7 == 700, 6 == 600).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk