https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114891
Bug ID: 114891 Summary: Unconditional use of std::is_pointer_interconvertible_base_of_v in <generator> makes the header unusable with Clang 18 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: de34 at live dot cn Target Milestone: --- Clang only supports the intrinsic for is_pointer_interconvertible_base_of_v since 19 (https://github.com/llvm/llvm-project/pull/88473). It seems that the uses of is_pointer_interconvertible_base_of_v is not strictly needed. Perhaps we should guard the uses with __cpp_lib_is_pointer_interconvertible to support old versions of Clang.