
31 Jul
2008
31 Jul
'08
7:29 p.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