https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119970
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tomasz Kaminski <tkami...@gcc.gnu.org>: https://gcc.gnu.org/g:1be88e43f3e93e85bef9499de905fa72d8596e7d commit r16-183-g1be88e43f3e93e85bef9499de905fa72d8596e7d Author: Tomasz KamiÅski <tkami...@redhat.com> Date: Mon Apr 28 08:53:59 2025 +0200 libstdc++: Fix mingw build by using _M_span [PR119970] The r16-142-g01e5ef3e8b9128 chagned return type of _Str_sink::view() to basic_string_view<_CharT>. The mutable access is provided by _M_span function, that is now used for mingw path. PR libstdc++/119970 libstdc++-v3/ChangeLog: * include/std/ostream (vprint_unicode) [_WIN32 && !__CYGWIN__]: Call _Str_sink::_M_span instead of view. * include/std/print (vprint_unicode) [_WIN32 && !__CYGWIN__]: Call _Str_sink::_M_span instead of view.