Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-09-24 08:46:30


Gennadiy Rozental wrote:

[snip other options]

> 2. Use boost/test/included/test_exec_monitor.hpp instead of
> boost/test/test_tool.hpp+BOOST_INCLUDE_MAIN. It may slow down your
> compilation. But you won't need to link with precompiled components.

I just noticed that this pollutes the global namespace with names from
the boost::unit_test_framework namespace because it includes
"test_main.cpp" and this source file contains a global "using namespace
boost::unit_test_framework;"

This can be fixed by moving the statement into main().

Markus


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