https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91889
Bug ID: 91889 Summary: Boost does not build with top-of-tree GCC Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sje at gcc dot gnu.org Target Milestone: --- A recent g++ change broke the boost build. It is dying with many (many) errors like this: ./boost/intrusive/list.hpp:1448:7: required from here ./boost/intrusive/detail/list_iterator.hpp:93:41: error: call of overloaded 'get _next(boost::intrusive::list_node<void*>*&)' is ambiguous 93 | node_ptr p = node_traits::get_next(members_.nodeptr_); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ./boost/intrusive/list_hook.hpp:20, from ./boost/intrusive/list.hpp:20, from ./boost/fiber/context.hpp:29, from libs/fiber/src/algo/algorithm.cpp:9: Marek thinks it is due to his recent patch: commit 5ac76b02008255b7f427e6309c2dc3e42bd64561 Author: mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Sep 23 17:37:54 2019 +0000 PR c++/91844 - Implement CWG 2352, Similar types and reference binding. * call.c (reference_related_p): Use similar_type_p instead of same_type_p. (reference_compatible_p): Update implementation to match CWG 2352. * cp-tree.h (similar_type_p): Declare. * typeck.c (similar_type_p): New. * g++.dg/cpp0x/pr33930.C: Add dg-error. * g++.dg/cpp0x/ref-bind1.C: New test. * g++.dg/cpp0x/ref-bind2.C: New test. * g++.dg/cpp0x/ref-bind3.C: New test. * g++.old-deja/g++.pt/spec35.C: Remove dg-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276058 138bc75d-0d04-0410-961f-82ee72b054a4