From: Glyn M. <gly...@gm...> - 2010-11-01 21:07:53
|
Hi Dean, On 30 October 2010 17:09, Dean Michael Berris <mik...@gm...>wrote: > Hi Everyone, > > I'd just like to give a quick update on the changes that are already > in the 0.8-devel branch. > > 1. We already have a pretty stable interface for the asynchronous HTTP > connection that handlers can deal with. I've tried documenting more of > my thinking into the commit messages for the recent commits I've been > pushing -- hopefully those make sense. ;) > > 2. I'm close to finishing the implementation details of the > asynchronous HTTP connection. This is on target for the 1st week of > November deadline, so I'm confident we can ship the next release by > the end of that week. > I get this error message when compiling: gmatthew@lola:~/Projects/cpp-netlib-mikhailberis/build$ make Scanning dependencies of target cpp-netlib-hello_world [ 5%] Building CXX object libs/network/test/CMakeFiles/cpp-netlib-hello_world.dir/hello_world.cpp.o In file included from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_connection.hpp:11, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_server.hpp:9, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server.hpp:15, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/libs/network/test/hello_world.cpp:10: /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/algorithms/linearize.hpp:29: error: ‘*’ cannot appear in a constant-expression /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/algorithms/linearize.hpp:29: error: a call to a constructor cannot appear in a constant-expression /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/algorithms/linearize.hpp:29: error: template argument 1 is invalid /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/algorithms/linearize.hpp:29: error: template argument 1 is invalid In file included from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_server.hpp:9, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server.hpp:15, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/libs/network/test/hello_world.cpp:10: /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_connection.hpp: In member function ‘void boost::network::http::async_connection<Tag, Handler>::write_impl(Range, Callback)’: /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_connection.hpp:251: error: no matching function for call to ‘min(size_t&, long unsigned int)’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_connection.hpp:267: error: no matching function for call to ‘min(size_t&, long unsigned int)’ In file included from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server.hpp:15, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/libs/network/test/hello_world.cpp:10: /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_server.hpp: At global scope: /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/async_server.hpp:20: error: declaration of ‘typedef struct boost::network::http::response_header<Tag> boost::network::http::async_server_base<Tag, Handler>::response_header’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/header/name.hpp:14: error: changes meaning of ‘response_header’ from ‘struct boost::network::http::response_header<Tag>’ In file included from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/sync_server.hpp:16, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server.hpp:14, from /home/gmatthew/Projects/cpp-netlib-mikhailberis/libs/network/test/hello_world.cpp:10: /home/gmatthew/Projects/boost_1_43_0/boost/mpl/find_if.hpp: In member function ‘void boost::network::http::sync_connection<Tag, Handler>::handle_read_headers(const boost::system::error_code&, size_t) [with Tag = boost::network::http::tags::http_server, Handler = hello_world]’: /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/sync_connection.hpp:58: instantiated from ‘void boost::network::http::sync_connection<Tag, Handler>::start() [with Tag = boost::network::http::tags::http_server, Handler = hello_world]’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/sync_server.hpp:65: instantiated from ‘void boost::network::http::sync_server_base<Tag, Handler>::handle_accept(const boost::system::error_code&) [with Tag = boost::network::http::tags::http_server, Handler = hello_world]’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/sync_server.hpp:42: instantiated from ‘boost::network::http::sync_server_base<Tag, Handler>::sync_server_base(const typename boost::network::string<Tag>::type&, const typename boost::network::string<Tag>::type&, Handler&) [with Tag = boost::network::http::tags::http_server, Handler = hello_world]’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server.hpp:44: instantiated from ‘boost::network::http::server<Handler>::server(const typename boost::network::http::server_base<boost::network::http::tags::http_server, Handler>::type::string_type&, const typename boost::network::http::server_base<boost::network::http::tags::http_server, Handler>::type::string_type&, Handler&) [with Handler = hello_world]’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/libs/network/test/hello_world.cpp:43: instantiated from here /home/gmatthew/Projects/boost_1_43_0/boost/mpl/find_if.hpp:32: error: ‘template<class Sequence, class Predicate> struct boost::mpl::find_if’ is not a function, /usr/include/c++/4.4/bits/stl_algo.h:4240: error: conflict with ‘template<class _IIter, class _Predicate> _IIter std::find_if(_IIter, _IIter, _Predicate)’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/sync_connection.hpp:94: error: in call to ‘find_if’ /home/gmatthew/Projects/boost_1_43_0/boost/mpl/find_if.hpp:32: error: argument dependent lookup finds ‘template<class Sequence, class Predicate> struct boost::mpl::find_if’ /home/gmatthew/Projects/cpp-netlib-mikhailberis/boost/network/protocol/http/server/sync_connection.hpp:94: error: in call to ‘find_if’ /home/gmatthew/Projects/boost_1_43_0/boost/system/error_code.hpp: At global scope: /home/gmatthew/Projects/boost_1_43_0/boost/system/error_code.hpp:208: warning: ‘boost::system::system_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/system/error_code.hpp:209: warning: ‘boost::system::generic_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/system/error_code.hpp:214: warning: ‘boost::system::posix_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/system/error_code.hpp:215: warning: ‘boost::system::errno_ecat’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/system/error_code.hpp:216: warning: ‘boost::system::native_ecat’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/asio/error.hpp:353: warning: ‘boost::asio::error::system_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/asio/error.hpp:355: warning: ‘boost::asio::error::netdb_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/asio/error.hpp:357: warning: ‘boost::asio::error::addrinfo_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/asio/error.hpp:359: warning: ‘boost::asio::error::misc_category’ defined but not used /home/gmatthew/Projects/boost_1_43_0/boost/asio/error.hpp:361: warning: ‘boost::asio::error::ssl_category’ defined but not used make[2]: *** [libs/network/test/CMakeFiles/cpp-netlib-hello_world.dir/hello_world.cpp.o] Error 1 make[1]: *** [libs/network/test/CMakeFiles/cpp-netlib-hello_world.dir/all] Error 2 make: *** [all] Error 2 There are other open issues on github reporting compilation failures for other platforms too. > > 3. There are a few issues I'd like to resolve as soon as I finish the > HTTP server implementation that have something to do with the client > interface among other things. It would be great if others can take a > look at the list of issues at > http://github.com/cpp-netlib/cpp-netlib/issues and vote on the ones > you want me to finish first, or comment whether you want those fixed > in 0.8. I'll try to squeeze in as many issue resolutions I can before > I package the next release (not sure if it's 0.8 or 0.7.1 yet). > > 4. There's already a skeleton/outline for the documentation of the > HTTP client and HTTP server interfaces. A reference manual is sorely > lacking in the documentation, and it would be good for others to get > their hands dirty with this one. I look forward to getting pull > requests for the documentation from those who would want to contribute > in this regard. :) > Reference manual and examples :) we are still example poor at the moment. > > So that's it for now, I'll be in holiday mode starting tomorrow Oct 31 > until Nov 2 (here in the Philippines). I'll be online briefly in the > morning Philippine time to check mail before I head on to my home > town, so if you have any questions you need answered before Wednesday > (PHT) please ask away so I can respond quickly. :) > Have a relaxing holiday and I hope you don't pay attention to these mails before you return :) G |