Boost logo

Boost :

From: Guillaume Melquiond (gmelquio_at_[hidden])
Date: 2003-05-23 16:48:05


On Sat, 24 May 2003, Peter Dimov wrote:

> Guillaume Melquiond wrote:
> > On Fri, 23 May 2003, Peter Dimov wrote:
> >
> >> Guillaume Melquiond wrote:
> >>> On Fri, 23 May 2003, Peter Dimov wrote:
> >>>
> >>>> Can someone verify whether __FUNCTION__ or __PRETTY_FUNCTION__
> >>>> works
> >>>> on Intel/linux?
> >>>
> >>> On Intel 7.1 for Linux, both __FUNCTION__ and __PRETTY_FUNCTION__
> >>> work.
> >>
> >> Thanks, 7.1/linux has __ICC == 710, right?
> >
> > No, __ICC == 700.
>
> Hmm. How can we detect Intel 7.1 then?

You don't have to. Contrarily to MSVC where 7.1 is a completely different
release from 7.0, Intel 7.1 for Linux is only a bug-fix version of 7.0.

> OTOH I suspect that Intel 7.0 on Linux probably supports __PRETTY_FUNCTION__
> too (for g++ compatibility.)

For the sake of doing things correctly, I did reinstall an older version
of the compiler; and now I can say for sure that the 6.0 version was
already handling __PRETTY_FUNCTION__ (and __FUNCTION__).


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk