id summary reporter owner description type status milestone component version severity resolution keywords cc 9548 Improper order of operations in function causing infinite recursive call rtrieu@… chris_kohlhoff "In also/ip/resolver_query_base.hpp, the enum flags has an overloaded function for the ~ operator. Here is the code below: friend flags operator~(flags x) { return static_cast(static_cast(~x)); } Note that the ~ in the function is applied to x, not the static_cast. This will call the overloaded operator again. The proper fix is: friend flags operator~(flags x) { return static_cast(~static_cast(x)); } which uses the builtin ~ operator for unsigned int. This was detected by Clang's new warning -Winfinite-recursion." Bugs closed To Be Determined asio Boost 1.55.0 Problem fixed gromer@…