$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Guillaume Melquiond (gmelquio_at_[hidden])
Date: 2003-05-23 15:16:38
On Fri, 23 May 2003, Peter Dimov wrote:
> Pavel Vozenilek wrote:
> >
> > const char* x = __FUNCTION__; works
> > while
> > #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).
I would suggest using BOOST_INTEL (it requires including config.hpp).
> Can someone verify whether __FUNCTION__ or __PRETTY_FUNCTION__ works on
> Intel/linux?
On Intel 7.1 for Linux, both __FUNCTION__ and __PRETTY_FUNCTION__ work.
Regards,
Guillaume