Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-31 21:29:59


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net