Latest Boost.Test version broke runtime_config::get

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Latest Boost.Test version broke runtime_config::get

Boost - Users mailing list
Hi everyone,

version 1.69 of boost.test broke the line
It works with static linking, however it breaks on dynamic linking. Error message is
  boost::runtime::arg_type_mismatch: Access with invalid type for argument corresponding to parameter log_level
In particular the following program fails:
  #define BOOST_TEST_MODULE example
  #include <iostream>
  #include <boost/test/unit_test.hpp>
  #include <boost/test/unit_test_parameters.hpp>

      using namespace boost::unit_test;
      std::cout << runtime_config::get<log_level>( runtime_config::btrt_log_level ) <<    std::endl;
if boost.test is linked dynamically.
Best regards,

David Sommer

Boost-users mailing list
[hidden email]