BoostCMake / boost_cmake

Boost powered with CMake build system
MIT License
3 stars 1 forks source link

Fix boost::align tests #9

Open nemothenoone opened 6 years ago

nemothenoone commented 6 years ago

Figure out following tests build failure:



#target_compile_definitions(assign_test_list_of PRIVATE -DBOOST_TEST_MAIN=1)

#bcm_test(NAME assign_test_list_inserter SOURCES list_inserter.cpp)

#target_compile_definitions(assign_test_list_inserter PRIVATE -DBOOST_TEST_MAIN=1)```

```/home/builder/boost/libs/assign/test/list_of.cpp:107:8: error: use of overloaded operator '=' is ambiguous (with operand types 'std::vector >' and 'boost::assign_detail::generic_list')
c3 = ba::list_of(1).repeat_fun( 10, &rand )(2)(3);```