2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-02 21:22:10 +00:00
Files
test/include
hia3 7ea2327848 Fix clang [-Wc++11-narrowing] error
Compiling on Windows with clang this code:

    #define BOOST_TEST_MODULE The Test
    #include <boost/test/included/unit_test.hpp>

command:

    "clang.exe" -c -x c++ test.cpp -Iboost -fno-ms-compatibility

produces:

    boost/test/utils/basic_cstring/basic_cstring.hpp:64:29: error: enumerator value evaluates to 18446744073709551615, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
2018-01-29 10:51:11 +01:00
..