Opened 11 years ago

Last modified 10 years ago

#5819 new Bugs

error in solaris_fenced_block.hpp in solaris 10 sun c++ 5.8

Reported by: bouzayanibilel@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.47.0 Severity: Problem
Keywords: Cc:

Description

"/sr/gldev/wfpvcs/tunis/bbouzayani/QuickFast_SOL10/boost_1_47_0/stage/include/./boost/asio/detail/solaris_fenced_block.hpp", line 37: Error: The function "membar_consumer" must have a prototype. "/sr/gldev/wfpvcs/tunis/bbouzayani/QuickFast_SOL10/boost_1_47_0/stage/include/./boost/asio/detail/solaris_fenced_block.hpp", line 43: Error: The function "membar_producer" must have a prototype. "/sr/gldev/wfpvcs/tunis/bbouzayani/QuickFast_SOL10/boost_1_47_0/stage/include/./boost/asio/detail/impl/socket_ops.ipp", line 952: Error: msg_flags is not a member of msghdr. "/sr/gldev/wfpvcs/tunis/bbouzayani/QuickFast_SOL10/boost_1_47_0/stage/include/./boost/bind/bind.hpp", line 69: Error: boost::_bi::F is not a namespace or class name. "/sr/gldev/wfpvcs/tunis/bbouzayani/QuickFast_SOL10/boost_1_47_0/stage/include/./boost/bind/bind_template.hpp", line 15: Where: While specializing "boost::_bi::result_traits<boost::_bi::unspecified, void(QuickFAST::Communication::MulticastReceiver::*)(const boost::system::error_code&,QuickFAST::Communication::LinkedBuffer*,unsigned long)>". "/sr/gldev/wfpvcs/tunis/bbouzayani/QuickFast_SOL10/boost_1_47_0/stage/include/./boost/bind/bind_template.hpp", line 15: Where: Specialized in boost::_bi::bind_t<boost::_bi::unspecified, void(QuickFAST::Communication::MulticastReceiver::*)(const boost::system::error_code&,QuickFAST::Communication::LinkedBuffer*,unsigned long), boost::_bi::list4<boost::_bi::value<QuickFAST::Communication::MulticastReceiver*>, boost::arg<1>, boost::_bi::value<QuickFAST::Communication::Linked

Change History (6)

comment:1 by remco.cats@…, 11 years ago

I have the same problem on Solaris 10. Is there a quick fix for this problem. We use version 1.48. error code: "/opt/boost/include/boost/asio/detail/impl/socket_ops.ipp", line 952: Error: msg_flags is not a member of msghdr.

Now we can't use the asio functionality in our code.

comment:2 by jonny.so@…, 10 years ago

Same problem in boost 1.51 on solaris 10 using solaris studio 12.2.

comment:3 by jonny.so@…, 10 years ago

"lib/boost_1_51_0/boost/asio/detail/impl/socket_ops.ipp", line 957: Error: msg_flags is not a member of msghdr

comment:4 by chris_kohlhoff, 10 years ago

These comments are unrelated to the original bug report. However, those errors are most likely the result of your build process not defining _XOPEN_SOURCE (or some similar #define) to a recent enough value to ensure POSIX compliance.

comment:5 by anonymous, 10 years ago

I have the same problem when building on HP-UX with aCC (using boost 1_53_0)

in reply to:  5 comment:6 by pinkerik88@…, 10 years ago

Replying to anonymous:

I have the same problem when building on HP-UX with aCC (using boost 1_53_0)

well not exactly the same, just the one with missing msg_flags

Note: See TracTickets for help on using tickets.