Subject: [Boost-bugs] [Boost C++ Libraries] #9340: compile error in make_shared_object.hpp with intel-linux-14.0.1
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-04 17:50:21
#9340: compile error in make_shared_object.hpp with intel-linux-14.0.1
------------------------------+-----------------------
Reporter: viboes | Owner: pdimov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
Version: Boost 1.54.0 | Severity: Problem
Keywords: |
------------------------------+-----------------------
The following error is reprted by the regression tests
{{{
Test output: lazy piranha fedora 19 64 C++11 - thread -
sync_bounded_queue__single_thread_p / intel-linux-14.0.1
Rev 86557 / Mon, 04 Nov 2013 03:10:05 +0000
Compile [2013-11-04 10:17:41 UTC]: fail
"/home/michael/programming/compilers/intel/composer_xe_2013_sp1.1.106/bin/intel64/icpc"
-c -xc++ -std=c++11 -O0 -g -w2 -inline-level=0 -pthread -fPIC -wd1418
-wd193,304,383,444 -wd2415 -wd593,981 -DBOOST_ALL_NO_LIB=1
-DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1
-DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1
-DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED
-DBOOST_THREAD_USE_DLL=1 -I".." -c -o
"/home/michael/boost_testing/results/boost/bin.v2/libs/thread/test/sync_bounded_queue__single_thread_p.test
/intel-linux-14.0.1/debug/threading-
multi/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.o"
"../libs/thread/test/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp"
../boost/smart_ptr/make_shared_object.hpp(216): error: expected a ")"
::new( pv ) T( boost::detail::sp_forward<Arg1>( arg1 ),
boost::detail::sp_forward<Args>( args )... );
^
detected during:
instantiation of "boost::detail::sp_if_not_array<T>::type
boost::make_shared<T,Arg1,Args...>(Arg1 &&, Args &&...) [with T=int,
Arg1=int, Args=<>]" at line 169 of
"../boost/thread/sync_bounded_queue.hpp"
instantiation of "boost::shared_ptr<ValueType>
boost::sync_bounded_queue<ValueType>::ptr_pull(boost::unique_lock<boost::mutex>
&) [with ValueType=int]" at line 299 of
"../boost/thread/sync_bounded_queue.hpp"
instantiation of "boost::shared_ptr<ValueType>
boost::sync_bounded_queue<ValueType>::try_pull(boost::unique_lock<boost::mutex>
&) [with ValueType=int]" at line 341 of
"../boost/thread/sync_bounded_queue.hpp"
instantiation of "boost::shared_ptr<ValueType>
boost::sync_bounded_queue<ValueType>::try_pull() [with ValueType=int]" at
line 63 of
"../libs/thread/test/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp"
compilation aborted for
../libs/thread/test/sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp
(code 2)
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9340> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC