Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-09 16:58:07


Beman Dawes <bdawes_at_[hidden]> writes:

> First, the regression tests are broken; the message is:
>
> unknown dependent target <libs!test!build>libboost_prg_exec_monitor.lib
>
> I assume this is the result of a change Glennadiy made last night in
> the test library build Jamfile, but reverting it to the prior version
> doesn't clear the problem. Sigh. I've emailed him privately.

I fixed up status/Jamfile to refer to the new targets.

I also removed the explicit use of $(SUFLIB) that people keep
stubbornly putting in their dependency references despite the fact
that I keep telling them it's just unneeded clutter :-/

> Second, with VC++ large numbers of warnings are now appearing for many
> type traits headers.

Which version? I can't reproduce these problems with 6, 7, or 7.1.

However CWPro8.3 shows lots of trivial bugs in the test library:

metrowerks-C++-action c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\execution_monitor.obj
### mwcc Compiler:
# File: ..\libs\test\src\execution_monitor.cpp
# -----------------------------------------------
# 157: case _CRT_ASSERT:
# Error: ^^^^^^^^^^^
# undefined identifier '_CRT_ASSERT'
### mwcc Compiler:
# 161: case _CRT_ERROR:
# Error: ^^^^^^^^^^
# undefined identifier '_CRT_ERROR'

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\libs\test\build" -I- -I"c:\boost" -o "c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\execution_monitor.obj" "..\libs\test\build\../src\execution_monitor.cpp"

...failed metrowerks-C++-action c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\execution_monitor.obj...
metrowerks-C++-action c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\test_tools.obj
### mwcc Compiler:
# In: ..\boost\test\unit_test_result.hpp
# From: ..\libs\test\src\test_tools.cpp
# ----------------------------------------
# 53: void short_report( std::ostream& where_to_, size_t indent_ = 0 ); // short
# Error: ^^^^^^
# declaration syntax error
### mwcc Compiler:
# 54: void detailed_report( std::ostream& where_to_, size_t indent_ = 0 ); // long
# Error: ^^^^^^
# declaration syntax error
### mwcc Compiler:
# 70: private:
# Error: ^^^^^^^
# declaration syntax error
### mwcc Compiler:
# 75: unit_test_result( unit_test_result* parent_, c_string_literal test_case_name_, unit_test_counter expected_failures_ = 0 )
# Error: ^
# ')' expected
### mwcc Compiler:
# 79: };
# Warning: ^
# illegal empty declaration
### mwcc Compiler:
# 79: };
# Warning: ^
# illegal empty declaration
### mwcc Compiler:
# 93: } // namespace boost
# Error: ^
# declaration syntax error
# Too many errors printed, aborting program

User break, cancelled...

    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\libs\test\build" -I- -I"c:\boost" -o "c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\test_tools.obj" "..\libs\test\build\../src\test_tools.cpp"

...failed metrowerks-C++-action c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\test_tools.obj...
metrowerks-C++-action c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\unit_test_parameters.obj
metrowerks-C++-action c:\build\libs\test\build\bin\libboost_unit_test_framework.lib\cwpro8.3\debug\runtime-link-dynamic\unit_test_log.obj
### mwcc Compiler:
# In: ..\boost\test\unit_test_result.hpp
# From: ..\libs\test\src\unit_test_log.cpp
# -------------------------------------------
# 53: void short_report( std::ostream& where_to_, size_t indent_ = 0 ); // short
# Error: ^^^^^^
# declaration syntax error
### mwcc Compiler:
# 54: void detailed_report( std::ostream& where_to_, size_t indent_ = 0 ); // long
# Error: ^^^^^^
# declaration syntax error
### mwcc Compiler:
# 70: private:
# Error: ^^^^^^^
# declaration syntax error
### mwcc Compiler:
# 75: unit_test_result( unit_test_result* parent_, c_string_literal test_case_name_, unit_test_counter expected_failures_ = 0 )
# Error: ^
# ')' expected
### mwcc Compiler:
# 79: };
# Warning: ^
# illegal empty declaration
### mwcc Compiler:
# 79: };
# Warning: ^
# illegal empty declaration
### mwcc Compiler:
# 93: } // namespace boost
# Error: ^
# declaration syntax error
# Too many errors printed, aborting program

User break, cancelled...

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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