Re: [boost] [asio].[hp-ux].[1_33_1] Build related issue

Christopher Kohlhoff <chris <at> kohlhoff.com> writes:
Hi Gaurav, Just a wild guess... can you please try the following diff and see if it helps:
--- posix_fd_set_adapter.hpp 4 Jan 2007 05:53:00 -0000 1.2 +++ posix_fd_set_adapter.hpp 12 Feb 2007 10:52:13 -0000 <at> <at> -32,6 +32,7 <at> <at> posix_fd_set_adapter() : max_descriptor_(invalid_socket) { + using namespace std; FD_ZERO(&fd_set_); }
Cheers, Chris
Hi Chris, Yes, it does solve the problem on Solaris. Seems like boost::asio is no longer a header only library. Regards, Gaurav Jain

On Tue, 13 Feb 2007 12:19:26 +0530, Gaurav.Jain@iflexsolutions.com said:
Christopher Kohlhoff <chris <at> kohlhoff.com> writes:
Hi Gaurav, Just a wild guess... can you please try the following diff and see if it helps:
--- posix_fd_set_adapter.hpp 4 Jan 2007 05:53:00 -0000 1.2 +++ posix_fd_set_adapter.hpp 12 Feb 2007 10:52:13 -0000 <at> <at> -32,6 +32,7 <at> <at> posix_fd_set_adapter() : max_descriptor_(invalid_socket) { + using namespace std; FD_ZERO(&fd_set_); }
Cheers, Chris
Hi Chris,
Yes, it does solve the problem on Solaris.
Great! Are you able to compile and run all of the tests now?
Seems like boost::asio is no longer a header only library.
You do now need to link to the boost_system library, yes. Cheers, Chris

Christopher Kohlhoff wrote:
Seems like boost::asio is no longer a header only library.
You do now need to link to the boost_system library, yes.
In my opinion, you can put some code into boost_asio library and since asio is for experienced programmers, I expect no complains from them. -- Alexander Nasonov http://nasonov.blogspot.com Playing dead not only comes in handy when face to face with a bear, but also at important business meetings. -- Jack Handey -- This quote is generated by: /usr/pkg/bin/curl -L http://tinyurl.com/veusy \ | sed -e 's/^document\.write(.//' -e 's/.);$/ --/' \ -e 's/<[^>]*>//g' -e 's/^More quotes from //' \ | fmt | tee ~/.signature-quote
participants (3)
-
Alexander Nasonov
-
Christopher Kohlhoff
-
Gaurav.Jain@iflexsolutions.com