10 Jun
2014
10 Jun
'14
5:37 p.m.
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