Turn off 128-bit integer for Embarcadero C++ clang-based compilers. Update the test for 128-bit integers.

This commit is contained in:
Edward Diener
2020-04-11 12:41:56 -04:00
parent b9eac83cb3
commit 2dcb3f09c0
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,12 @@
# define BOOST_NO_CXX11_THREAD_LOCAL # define BOOST_NO_CXX11_THREAD_LOCAL
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR
// This bug has been reported to Embarcadero
#if defined(BOOST_HAS_INT128)
#undef BOOST_HAS_INT128
#endif
// 32 functions are missing from the current RTL in cwchar, so it really can not be used even if it exists // 32 functions are missing from the current RTL in cwchar, so it really can not be used even if it exists
# define BOOST_NO_CWCHAR # define BOOST_NO_CWCHAR

View File

@ -63,6 +63,9 @@ int test()
fputs("Incorrect computation result.", stderr); fputs("Incorrect computation result.", stderr);
return 1; return 1;
} }
my_uint128_t i(2), j(1), k;
k = i / j;
return 0; return 0;
} }