New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with Boost V1.49rc1 #296

Closed
brycelelbach opened this Issue Jul 10, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@brycelelbach
Member

brycelelbach commented Jul 10, 2012

[reported by hkaiser] [Trac time Tue Jan 24 17:09:17 2012] Jeff reported this problem with Boost trunk, but V1.49rc1 yields the same problem (gcc 4.4.x/4.5.x):

6$ gmake
[  2%] Building CXX object src/CMakeFiles/hpx_serialization.dir/util/portable_binary_iarchive.cpp.o
[  2%] Building CXX object src/CMakeFiles/hpx_serialization.dir/util/portable_binary_oarchive.cpp.o
Linking CXX shared library ../lib/hpx/libhpx_serialization.so
[  2%] Built target hpx_serialization
[  2%] Building CXX object src/CMakeFiles/hpx.dir/exception.cpp.o
In file included from /u/jcbecker/mylocal/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/memory_util.hpp:118,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/pointer_traits.hpp:26,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/utilities.hpp:17,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist_hook.hpp:19,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist.hpp:21,
                 from /u/jcbecker/hpx/hpx/lcos/local_mutex.hpp:23,
                 from /u/jcbecker/hpx/hpx/runtime/agas/addressing_service.hpp:28,
                 from /u/jcbecker/hpx/hpx/runtime/naming/resolver_client.hpp:11,
                 from /u/jcbecker/hpx/hpx/runtime.hpp:14,
                 from /u/jcbecker/hpx/src/exception.cpp:11:
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:199: error: expected '>' before numeric constant
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_pointer_to'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_pointer_to'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: invalid type in declaration before ';' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before ')' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before ')' token
In file included from /u/jcbecker/mylocal/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/memory_util.hpp:124,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/pointer_traits.hpp:26,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/utilities.hpp:17,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist_hook.hpp:19,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist.hpp:21,
                 from /u/jcbecker/hpx/hpx/lcos/local_mutex.hpp:23,
                 from /u/jcbecker/hpx/hpx/runtime/agas/addressing_service.hpp:28,
                 from /u/jcbecker/hpx/hpx/runtime/naming/resolver_client.hpp:11,
                 from /u/jcbecker/hpx/hpx/runtime.hpp:14,
                 from /u/jcbecker/hpx/src/exception.cpp:11:
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:199: error: expected '>' before numeric constant
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_static_cast_from'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_static_cast_from'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: invalid type in declaration before ';' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before ')' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before ')' token
In file included from /u/jcbecker/mylocal/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/memory_util.hpp:130,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/pointer_traits.hpp:26,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/utilities.hpp:17,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist_hook.hpp:19,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist.hpp:21,
                 from /u/jcbecker/hpx/hpx/lcos/local_mutex.hpp:23,
                 from /u/jcbecker/hpx/hpx/runtime/agas/addressing_service.hpp:28,
                 from /u/jcbecker/hpx/hpx/runtime/naming/resolver_client.hpp:11,
                 from /u/jcbecker/hpx/hpx/runtime.hpp:14,
                 from /u/jcbecker/hpx/src/exception.cpp:11:
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:199: error: expected '>' before numeric constant
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_const_cast_from'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_const_cast_from'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: invalid type in declaration before ';' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before ')' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before ')' token
In file included from /u/jcbecker/mylocal/boost/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/memory_util.hpp:136,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/pointer_traits.hpp:26,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/detail/utilities.hpp:17,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist_hook.hpp:19,
                 from /u/jcbecker/mylocal/boost/include/boost/intrusive/slist.hpp:21,
                 from /u/jcbecker/hpx/hpx/lcos/local_mutex.hpp:23,
                 from /u/jcbecker/hpx/hpx/runtime/agas/addressing_service.hpp:28,
                 from /u/jcbecker/hpx/hpx/runtime/naming/resolver_client.hpp:11,
                 from /u/jcbecker/hpx/hpx/runtime.hpp:14,
                 from /u/jcbecker/hpx/src/exception.cpp:11:
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:199: error: expected '>' before numeric constant
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_dynamic_cast_from'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: wrong number of template arguments (1, should be 2)
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:202: error: provided for 'template<class F, long unsigned int <anonymous> > struct boost::intrusive::detail::zeroarg_checker_dynamic_cast_from'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:223: error: invalid type in declaration before ';' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:259: error: expected primary-expression before ')' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: 'declval' is not a member of 'boost::move_detail'
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before '>' token
/u/jcbecker/mylocal/boost/include/boost/intrusive/detail/has_member_function_callable_with.hpp:261: error: expected primary-expression before ')' token
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:244: warning: 'boost::asio::error::system_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:246: warning: 'boost::asio::error::netdb_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:248: warning: 'boost::asio::error::addrinfo_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/asio/error.hpp:250: warning: 'boost::asio::error::misc_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable]
/u/jcbecker/mylocal/boost/include/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable]
gmake[2]: *** [src/CMakeFiles/hpx.dir/exception.cpp.o] Error 1
gmake[1]: *** [src/CMakeFiles/hpx.dir/all] Error 2
gmake: *** [all] Error 2
@brycelelbach

This comment has been minimized.

Show comment
Hide comment
@brycelelbach

brycelelbach Jul 10, 2012

Member

[comment by blelbach] [Trac time Thu Jan 26 02:51:29 2012] r6831, dd0be5b and bd07563a4353102ec62b500290f33dd43906d7913

Member

brycelelbach commented Jul 10, 2012

[comment by blelbach] [Trac time Thu Jan 26 02:51:29 2012] r6831, dd0be5b and bd07563a4353102ec62b500290f33dd43906d7913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment