Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-06 11:22:38


Several of the concept-checking tests in status/Jamfile are labelled
link-fail when it seems to me they ought to be compile-fail. This
causes the tests not to pass, because they fail earlier than expected:

MkDir1 c:\build\status\bin\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic
metrowerks-C++-action c:\build\status\bin\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic\concept_check_fail_expected.obj
### mwcc Compiler:
# In: ..\boost\concept_check.hpp
# From: ..\libs\concept_check\concept_check_fail_expected.cpp
# --------------------------------------------------------------
# 302: require_boolean_expr(a == b);
# Error: ^
# illegal operands 'foo' == 'foo'
# (instantiating: 'boost::EqualityComparableConcept<foo>::constraints()')

Errors caused tool to abort.

    call "c:\tools\cwpro8.3\Other Metrowerks Tools\Command Line Tools\cwenv.bat" -quiet
    mwcc -maxerrors 5 -maxwarnings 20 -c -warn on,nounusedexpr,nounused -cwd include -DNOMINMAX -nowraplines -lang c++ -g -O0 -inline off -prefix UseDLLPrefix.h -iso_templates on -fl opt_classresults -I"c:\build\status" -I- -I"c:\boost" -o "c:\build\status\bin\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic\concept_check_fail_expected.obj" "c:\boost\libs/concept_check\concept_check_fail_expected.cpp"

...failed metrowerks-C++-action c:\build\status\bin\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic\concept_check_fail_expected.obj...
...skipped <status\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic>concept_check_fail_expected.CMD for lack of <status\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic>concept_check_fail_expected.obj...
...skipped <status\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic>concept_check_fail_expected.exe for lack of <status\concept_check_fail_expected.test\cwpro8.3\debug\runtime-link-dynamic>concept_check_fail_expected.CMD...

Am I missing something?

-- 
                    David Abrahams
dave_at_[hidden] * http://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