Boost logo

Boost Users :

From: console shark (consolejoker_at_[hidden])
Date: 2007-09-27 11:35:35


I am trying to compile the tutorial for boost asio, specifically the daytime client (http://asio.sourceforge.net/asio-0.3.7/doc/tutorial/tutdaytime1.html). The following line generates a compile time error. Compiler is VC8. Maybe I'm missing something but is this tutorial out of date? Because I also don't see any implementation of assign_error method which is also liberally used throughout the explanations on that page. boost::asio::error error = boost::asio::error::host_not_found; error C2440: 'initializing' : cannot convert from 'const boost::system::error_code' to 'boost::asio::error' 1> No constructor could take the source type, or constructor overload resolution was ambiguous ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net