Re: [boost] [asio].[aix].[1_33_1] Update regarding test cases compilation

Hi Chris,
Hi Gaurav,
On Wed, 7 Mar 2007 18:20:48 +0530, Gaurav.Jain <at> iflexsolutions.com
said: line
I am afraid to say that you are right in your observation. I am now using asio 0.3.8rc2 to compile and run the asio test cases. I am able to run the following test cases successfully: basic_datagram_socket.cpp basic_deadline_timer.cpp basic_socket_acceptor.cpp basic_stream_socket.cpp buffer.cpp buffered_read_stream.cpp buffered_stream.cpp buffered_write_stream.cpp completion_condition.cpp datagram_socket_service.cpp deadline_timer.cpp deadline_timer_service.cpp error.cpp io_service.cpp is_read_buffered.cpp is_write_buffered.cpp placeholders.cpp read.cpp read_until.cpp socket_acceptor_service.cpp socket_base.cpp strand.cpp stream_socket_service.cpp time_traits.cpp write.cpp address.cpp address_v4.cpp address_v6.cpp basic_endpoint.cpp basic_resolver.cpp basic_resolver_entry.cpp basic_resolver_iterator.cpp basic_resolver_query.cpp host_name.cpp resolver_query_base.cpp resolver_service.cpp tcp.cpp udp.cpp unicast.cpp v6_only.cpp Following test cases are throwing ambiguous reference to "ip" error during compilation: "socket_base.cpp", line 38.5: 1540-0600 (S) The reference to "ip" is ambiguous. "/usr/include/netinet/ip.h", line 141.8: 1540-0425 (I) "ip" is defined on line 141 of "/usr/include/netinet/ip.h". "/1.33.1/include/boost/asio/ip/basic_resolver.hpp", line 27.11: 1540-0425 (I) "boost::asio::ip" is defined on line 27 of "/1.33.1/include/boost/as io/ip/basic_resolver.hpp". "/1.33.1/include/boost/asio/ip/resolver_service.hpp", line 27.11: 1540-04 25 (I) "boost::asio::ip" is defined on line 27 of "/1.33.1/include/boost/ asio/ip/resolver_service.hpp". "/1.33.1/include/boost/asio/ip/basic_endpoint.hpp", line 36.11: 1540-0425 (I) "boost::asio::ip" is defined on line 36 of "/1.33.1/include/boost/as io/ip/basic_endpoint.hpp". "/1.33.1/include/boost/asio/ip/address.hpp", line 33.11: 1540-0425 (I) "b oost::asio::ip" is defined on line 33 of "/1.33.1/include/boost/asio/ip/address.hpp". socket_base.cpp address_v4.cpp address_v6.cpp host_name.cpp tcp.cpp udp.cpp unicast.cpp v6_only.cpp After qualifying boost::asio:: to all the ip in the above mentioned test cases, I am able to compile & execute them.
I have not run multicast.cpp. Once I run it, will tell you the results. Regards, Gaurav Jain DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version.

On Tue, 13 Mar 2007 18:58:47 +0530, Gaurav.Jain@iflexsolutions.com said:
I am afraid to say that you are right in your observation. I am now using asio 0.3.8rc2 to compile and run the asio test cases.
I presume this means you were able to get an uncorrupted copy of the archive :)
Could you let me know if adding: namespace ip = boost::asio::ip; immediately after the "using namespace boost::asio;" line can also fix the problem. Thanks! Cheers, Chris
participants (2)
-
Christopher Kohlhoff
-
Gaurav.Jain@iflexsolutions.com