Boost logo

Boost :

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"


    struct UDT {};
    struct begin {};

    int main()

# 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

I reported it to their tech-support.


Boost list run by bdawes at, gregod at, cpdaniel at, john at