Boost logo

Boost :

Subject: [boost] [intrusive] intrusive/detail/has_member_function_callable_with.hpp(74) : fatal error C1189: #error : "BOOST_PP_ITERATION_START() must be zero (0)"
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-02-15 09:54:34


Hi,

there is an issue in has_member_function_callable_with.hpp that make a
lot of test fail. See for example the following compiler errors.

Could this be fixed?

Thanks,
Vicente

Test output: teeks99-02j-win2008-64on64 - thread -
shared_future__copy_assign_p / msvc-12.0
Rev 085b21ee6f062cfc538438496cc5f6ac2da9217f / Fri, 14 Feb 2014 21:34:08
+0000
Compile [2014-02-15 04:21:38 UTC]: fail

     call "C:\Program Files (x86)\microsoft visual studio 12.0\vc\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"C:\local\teeks99-02\j\results\boost\bin.v2\libs\thread\test\shared_future__copy_assign_p.test\msvc-12.0\debug\threading-multi\sync\futures\shared_future\copy_assign_pass.obj.rsp"

copy_assign_pass.cpp
C:\local\teeks99-02\j\boost_root\boost/intrusive/detail/has_member_function_callable_with.hpp(74) : fatal error C1189: #error : "BOOST_PP_ITERATION_START() must be zero (0)"
             

and

Test output: teeks99-05f-Ubuntu12.04-64 - thread - async__async_p /
clang-linux-3.0
Rev 91a3fc2ca12c3dfdf088383f8b60fb476e222039 / Fri, 14 Feb 2014 23:21:25
+0000
Compile [2014-02-15 02:19:03 UTC]: fail

   "clang++-3.0" -c -x c++ -Wextra -Wno-delete-non-virtual-dtor -Wno-long-long -Wunused-function -pedantic -O0 -g -fno-inline -Wall -pedantic -g -pthread -fPIC -Wextra -Wno-delete-non-virtual-dtor -Wno-long-long -Wunused-function -pedantic -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".." -o "/mnt/teeks99-05/f/results/boost/bin.v2/libs/thread/test/async__async_p.test/clang-linux-3.0/debug/threading-multi/sync/futures/async/async_pass.o" "../libs/thread/test/sync/futures/async/async_pass.cpp"

In file included from ../libs/thread/test/sync/futures/async/async_pass.cpp:34:
In file included from ../boost/thread/future.hpp:54:
In file included from ../boost/thread/detail/memory.hpp:18:
In file included from ../boost/thread/csbl/memory/allocator_arg.hpp:16:
In file included from ../boost/container/scoped_allocator.hpp:28:
In file included from ../boost/container/allocator_traits.hpp:29:
In file included from ../boost/container/detail/memory_util.hpp:30:
In file included from ../boost/preprocessor/iteration/detail/iter/forward1.hpp:57:
../boost/intrusive/detail/has_member_function_callable_with.hpp:74:5: error: #error "BOOST_PP_ITERATION_START() must be zero (0)"
    #error "BOOST_PP_ITERATION_START() must be zero (0)"
     ^
../boost/intrusive/detail/has_member_function_callable_with.hpp:305:44: error: no template named 'has_member_function_callable_with_allocate_impl'; did you mean 'intrusive::detail::has_member_function_callable_with_pointer_to_impl'?
          struct BOOST_PP_CAT( BOOST_PP_CAT(has_member_function_callable_with_
                                            ^


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk