Remove BOOST_ENDIAN_LOG

This commit is contained in:
Peter Dimov committed 2019-04-27 19:28:49 +03:00
1 parent 8e3eccaa14
commit f77a318c37
6 files changed
+1 -88

No files matched your search

-13
View File
@@ -14,8 +14,6 @@
// See endian_test for tests of endianness correctness, size, and value.
#define BOOST_ENDIAN_LOG
#include <boost/endian/detail/disable_warnings.hpp>
#ifdef _MSC_VER
@@ -28,8 +26,6 @@
# pragma GCC diagnostic ignored "-Wconversion"
#endif
#define BOOST_ENDIAN_LOG
#include <boost/endian/arithmetic.hpp>
#include <boost/type_traits/is_signed.hpp>
#include <boost/core/lightweight_test.hpp>
@@ -372,8 +368,6 @@ void f_big_int32_ut(be::big_int32_t) {}
int cpp_main(int, char * [])
{
be::endian_log = false;
// make sure some simple things work
be::big_int32_t o1(1);
@@ -381,11 +375,6 @@ int cpp_main(int, char * [])
be::big_int32_t o3(3LL);
be::big_int64_t o4(1);
// use cases; if BOOST_ENDIAN_LOG is defined, will output to clog info on
// what overloads and conversions are actually being performed.
be::endian_log = true;
std::clog << "set up test values\n";
be::big_int32_t big(12345);
be::little_uint16_t little_u(10);
@@ -486,8 +475,6 @@ int cpp_main(int, char * [])
u2 = u1 + u4;
std::clog << "\n";
be::endian_log = false;
test_inserter_and_extractor();
// perform the indicated test on ~60*60 operand types