forked from boostorg/integer
Don't #error when doing a release build. Just put out an informative message, and pass the test.
[SVN r24328]
This commit is contained in:
@ -18,8 +18,12 @@
|
|||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
#error This test makes no sense with NDEBUG defined
|
int main()
|
||||||
#endif
|
{
|
||||||
|
std::cout << "This test makes no sense with NDEBUG defined.\n";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
|
||||||
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
//
|
//
|
||||||
@ -212,5 +216,4 @@ int main()
|
|||||||
std::cout << "OK\n";
|
std::cout << "OK\n";
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user