Description: Make XeTeX ready for gcc-16 You need to change texk/web2c/configure.ac to require c++17: Since icu is compiled eith c++17 standards, the headers use c++17 standards and when compiling xetex, we need that, too. Author: Norbert Preining Origin: upstream Bug: https://bugs.debian.org/1133647 Forwarded: https://svn.tug.org:8369/texlive?revision=78759&view=revision Last-Update: 2026-04-20 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- texlive-bin.orig/texk/web2c/configure.ac +++ texlive-bin/texk/web2c/configure.ac @@ -57,10 +57,10 @@ KPSE_WEB2C_PREPARE m4_include([ac/web2c.ac]) -# XeTeX requires C++11 because ICU does :(. +# XeTeX requires C++17 because ICU 76+ does. if test "x$enable_xetex" = xyes; then - AC_MSG_NOTICE([checking for C++11, since XeTeX is enabled]) - AX_CXX_COMPILE_STDCXX([11]) + AC_MSG_NOTICE([checking for C++17, since XeTeX is enabled]) + AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory]) fi AS_IF([test "x$enable_texlive_build" = xyes],