https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124933

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We could go with a workaround like this:

--- a/libstdc++-v3/src/c++23/print.cc
+++ b/libstdc++-v3/src/c++23/print.cc
@@ -22,8 +22,10 @@
 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 // <http://www.gnu.org/licenses/>.

+#if __SIZEOF_POINTER__ >= 4
 // We want to emit symbols for the inline functions in bits/print.h here.
 #define _GLIBCXX_NO_INLINE_PRINT 1
+#endif
 #include <ostream>
 #include <bits/ostream_print.h>
 #include <print>

Reply via email to