$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-12-22 03:30:06
David Abrahams wrote:
> Hum, hum.
> I *am* seeing one error from the MPL regressions with cwpro8.3:
[snip "as_sequence.cpp" test errors]
> 
> However, it doesn't look like it's preprocessor-related.
Yep, it's not. It's a known failure, which I didn't have time to track down
yet... hmm, apparently, it's a Metrowerks bug:
    #include "boost/mpl/aux_/has_xxx.hpp"
    #include "boost/static_assert.hpp"
    BOOST_MPL_HAS_XXX_TRAIT_DEF(begin)
    struct UDT {};
    struct begin {};
    int main()
    {
        BOOST_STATIC_ASSERT(!has_begin<UDT>::value);
    }
#   Compiling: 'F:\home\depot\bugs\mw83\has_xxx.cpp'
### C:/Program Files/Metrowerks/CodeWarrior 8.0/Other Metrowerks
Tools/Command Line Tools/mwcc.exe Compiler:
#    File: F:\home\depot\bugs\mw83\has_xxx.cpp
# --------------------------------------------
#      11: sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)(
!has_begin<UDT>::value ) >) }
#   Error:
^
#   illegal use of incomplete struct/union/class
'boost::STATIC_ASSERTION_FAILURE<0>'
I reported it to their tech-support.
Aleksey