id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10042,anonymous enum problem (gcc4.4.7) in asio/completion_condition.hpp,hcab14@…,chris_kohlhoff,"A similar problem (anonymous enum) as described in https://svn.boost.org/trac/boost/ticket/6362 is in asio/completion_condition.hpp (git master). This prevents code using asio::spawn to compile when using gcc4.4.7, e.g., asio/example/cpp03/spawn/echo_server.cpp {{{ asio> git diff diff --git a/include/boost/asio/completion_condition.hpp b/include/boost/asio/completion_condition.hpp index bdc041c..372e224 100644 --- a/include/boost/asio/completion_condition.hpp +++ b/include/boost/asio/completion_condition.hpp @@ -26,7 +26,7 @@ namespace asio { namespace detail { // The default maximum number of bytes to transfer in a single operation. -enum { default_max_transfer_size = 65536 }; +enum _dummy_max_transfer_size_type_ { default_max_transfer_size = 65536 }; // Adapt result of old-style completion conditions (which had a bool result // where true indicated that the operation was complete). }}} ",Patches,new,To Be Determined,asio,,Problem,,,