This test is run by cmake during configuration, using C++11 requires special compiler flags (for some compilers). To keep things simple we use C++98 instead of C++11 for the libdivide test.
libdivide.cpp:19:39: error: narrowing conversion of
'std::numeric_limits<int>::max()' from 'int' to 'uint64_t {aka long
long unsigned int}' inside { } is ill-formed in C++11
[-Werror=narrowing]
std::numeric_limits<int32_t>::max(),
^
libdivide.cpp:21:39: error: narrowing conversion of
'std::numeric_limits<long long int>::max()' from 'long long int' to
'uint64_t {aka long long unsigned int}' inside { } is ill-formed in
C++11 [-Werror=narrowing]
std::numeric_limits<int64_t>::max(),
^