boostorg / test

The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
http://boost.org/libs/test
Boost Software License 1.0
183 stars 140 forks source link

Fix for the issue #430, arg_type_mismatch exception with dynamic link #431

Closed kantan2015 closed 1 month ago

kantan2015 commented 2 months ago

This is the fix for https://github.com/boostorg/test/issues/430. If the library is linked dynamically, clang built binary raises the arg_type_mismatch exception on reading configuration variables with type output_format or report_level. I've added the test in unit_test_example_16.cpp but found that it was commented out from build and leave as it is.