I have the following test :
BOOST_CHECK_NE(pointer, nullptr);
The compilation fails due to
/xxx/include/boost/test
As mentioned in error message, nullptr has ambiguous overloads.
nullptr
BOOST_CHECK(pointer);
or
BOOST_CHECK_NE(pointer, static_cast(nullptr));
should do the job.