https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215193
--- Comment #21 from Mark Millard <[email protected]> --- (In reply to Mark Millard from comment #20) For reference: Looks like lib/gcc15/include/c++/bits/ptr_traits.h (libstdc++) handles its part of the issues for this type of context via: . . . namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION . . . #ifndef __glibcxx_to_address // C++ < 20 . . . __to_address style template code . . . #else . . . C++20 to_address style template code . . . #endif . . . _GLIBCXX_END_NAMESPACE_VERSION } // namespace std where lib/gcc15/include/c++/bits/version.h has __glibcxx_to_address controlled via: #if !defined(__cpp_lib_to_address) # if (__cplusplus >= 202002L) # define __glibcxx_to_address 201711L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_to_address) # define __cpp_lib_to_address 201711L # endif # endif #endif /* !defined(__cpp_lib_to_address) && defined(__glibcxx_want_to_address) */ #undef __glibcxx_want_to_address -- You are receiving this mail because: You are the assignee for the bug.
