1 Aug
2008
1 Aug
'08
1:29 a.m.
AMDG Andrej van der Zee wrote:
It seems that the compiler sees the two following functions as the same symbols, although the name slight differs:
inline double expm1(double x) { return boost::math::tr1::boost_expm1(x); } inline long double expm1l(long double x) { return boost::math::tr1::boost_expm1l(x); } <snip> Well, there is a clear pattern. After prefixing the second function with __ makes the errors go away. Could somebody enlighten me why this is?
Does it work with inline long double expm1l BOOST_PREVENT_MACRO_SUBSTITUTION(long double x) In Christ, Steven Watanabe