Boost logo

Boost :

Subject: Re: [boost] [config] RTTI detection on Intel C++
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-10 13:37:53


John Maddock wrote:
> I would say put what EDG usually does in common_edg.hpp and then override
> in the individual compiler header if it differs.

It's a bit tricky because the macro name and whether it's defined by the EDG
frontend can be configured. So when we see that __RTTI is not defined, we
can't be sure that RTTI is off. Something else might be defined instead,
depending on the compiler.

So I went with just adding the checks to intel.hpp:

https://github.com/boostorg/config/pull/26


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