Boost logo

Boost :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2007-11-13 17:17:58

The trunk version of boost/test/impl/debug.ipp uses
std::memcpy without having included an appropriate header,
as shown in :

In file included from ../boost/test/included/unit_test.hpp:19,
                 from ../libs/test/test/online_test.cpp:17:
../boost/test/impl/debug.ipp: In function ???char*
../boost/test/impl/debug.ipp:338: error: ???memcpy??? is not a member
of ???std???

Curiously enough it is only GCC 4.3.0 that catches the
problem, probably because std::memcpy is implicitly included
by some header or another in all other platforms.

The attached patch should solve the problem. OK to commit?

Thank you,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

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