Boost logo

Boost Users :

From: Mark Dawson (mcdawson_at_[hidden])
Date: 2004-05-20 17:46:58


I'm trying to compile boost 1.3.0 using the CodeWarrior 9.2 compiler on
Mac OS X (10.3.3). I've run into a weird error:

Error : unexpected argument while expanding macro 'check' (wanted 1)
(included from:
  boost/type_traits.hpp:29
is_base_and_derived.hpp line 112 s_type check(D const volatile *, T);

is_base_and_derived.hpp:
template <typename B, typename D>
struct bd_helper
{
     template <typename T>
     static type_traits::yes_type check(D const volatile *, T);
     static type_traits::no_type check(B const volatile *, int);
};

When I look up check() its in my /usr/include/AssertMacros.h file, it
DOES takes one parameter. Am I somehow including the wrong paths, and
(should be) getting check() from somewhere else?

Thanks,

mark
mcdawson_at_[hidden]


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