From: Peder Holt (peder.holt_at_[hidden])
Date: 2005-08-25 01:53:10
On 8/25/05, Chris Weed <chrisweed_at_[hidden]> wrote:
> I can't get this to compile.
> #include "boost/metamath/double.hpp"
> #include "boost/metamath/double_macros.hpp"
> #include "boost/mpl/apply.hpp"
> #include "boost/metamath/double/divides.hpp"
> int main()
> typedef BOOST_DOUBLE(3.3f) xt;
> typedef BOOST_DOUBLE(2.2f) yt;
> typedef boost::metamath::detail::divides_double_double<xt,yt>::type zt;
> zt z;
> return 0;
> The header file seems to have a macro problem.
> Here is the error message in g++ 3.4.2 in Linux:
Hi, Chris. I don't have access to GCC at the moment, but I have made
an updated version based on the error message you posted. (I replaced
all ## tokens with BOOST_PP_CAT)
Hopefully this solves the problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk