
25 Aug
2005
25 Aug
'05
6:53 a.m.
On 8/25/05, Chris Weed <chrisweed@gmail.com> wrote:
Hi, 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:
<snip> 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. Regards, Peder