From 340cc5ab61e9e4c3b26ce335bcb09b00b276bb74 Mon Sep 17 00:00:00 2001 From: "Vicente J. Botet Escriba" Date: Tue, 16 Oct 2018 00:02:31 +0200 Subject: [PATCH] Try to catch the CircleCi clang issues. --- circle.yml | 2 +- test/test_thread.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/circle.yml b/circle.yml index c9a7340e..5cc84ca9 100644 --- a/circle.yml +++ b/circle.yml @@ -45,7 +45,7 @@ build_steps: &build_steps command: | echo "using $TOOLSET : : $COMPILER : -std=$CXXSTD $CXXFLAGS $DEFINES ;" > ~/user-config.jam cd ../boost-root - ./b2 -j8 -l60 libs/thread/test toolset=$TOOLSET + ./b2 -d2 -j8 -l60 libs/thread/test toolset=$TOOLSET mac_build: &mac_build macos: diff --git a/test/test_thread.cpp b/test/test_thread.cpp index fa9e556a..86171b41 100644 --- a/test/test_thread.cpp +++ b/test/test_thread.cpp @@ -206,8 +206,8 @@ BOOST_AUTO_TEST_CASE(test_timed_join) BOOST_AUTO_TEST_CASE(test_swap) { - boost::thread t(simple_thread); - boost::thread t2(simple_thread); + boost::thread t(&simple_thread); + boost::thread t2(&simple_thread); boost::thread::id id1=t.get_id(); boost::thread::id id2=t2.get_id();