Boost logo

Boost :

Subject: [boost] [test] Still having issues
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-10-11 12:34:13

I'm still having a lot of issues with the latest Boost.Test not building:

On Win32 with Intel's 11.1 and 12.1 compilers I see:

..\..\..\boost/test/impl/execution_monitor.ipp(104): error: invalid
redeclaration of type name "_invalid_parameter_handler" (declared at line
228 of "C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdlib.h")
typedef void* _invalid_parameter_handler;

And on Ubuntu Linux with gcc I see:

In file included from ../../../libs/test/src/unit_test_main.cpp:16:
../../../boost/test/impl/unit_test_main.ipp: In function 'int
boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int,
char**), int, char**)':
../../../boost/test/impl/unit_test_main.ipp:97: error: 'getchar' is not a
member of 'std'

    "/usr/local/gcc/4.4.3/bin/g++" -ftemplate-depth-128 -O0 -fno-inline -Wall
 -pedantic -g -DBOOST_ALL_NO_LIB=1 -I"../../.." -c -o

Probably a missing <cstdio> include?


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