Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-03-21 15:05:03


Matthias Troyer <troyer_at_[hidden]> writes:

> Dear Boosters,
>
> Unfortunately we could not test 1.30 extensively and thus found a
> problem with the current Boost sources just after a release.
>
> When trying to compile the filesystem library with KAI C++ we
> encounter a problem in
> boost/type_traits/is_base_and_derived.hpp

Uh, wait...

> It seems that the workaround is needed also for KCC, since otherwise
> we get the error message
>
> line 126: error:
> expression must have (pointer-to-) function type
> BOOST_STATIC_CONSTANT(bool, value =
>
>
> Looking at the #if before this version I find:
>
> && !BOOST_WORKAROUND(__EDG_VERSION__, <= 238) && 0
                                                   ^
Where did this come from?--------------------------^

And furthermore, the code inside #if !BOOST_WORKAROUND(...) is all
NON-workaround code, so the workaround _is_ being used for all
versions 238 and lower.

So I think you're going to have to analyze the problem and the fix
again.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk