https://gcc.gnu.org/g:b1c2006077085a12b26c93cbc745508ba096be0a
commit r16-4613-gb1c2006077085a12b26c93cbc745508ba096be0a Author: Eric Pimentel Aguiar <[email protected]> Date: Fri Oct 24 09:41:04 2025 -0400 libstdc++: Fix <mdspan> export in std module When exporting declarations in a namespace with using declarations, the name must be fully qualified. Recently introduced std::full_extent{,_t}, std:strided_slice, and std::submdspan_mapping_result broke module std and module std.compat. libstdc++-v3/ChangeLog: * src/c++23/std.cc.in (std::strided_slice, std::full_extent_t) (std::full_extent, std::submdspan_mapping_result): Add std qualification. Reviewed-by: Jonathan Wakely <[email protected]> Diff: --- libstdc++-v3/src/c++23/std.cc.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in index e849307f186a..4c11b1bf7114 100644 --- a/libstdc++-v3/src/c++23/std.cc.in +++ b/libstdc++-v3/src/c++23/std.cc.in @@ -1872,10 +1872,10 @@ export namespace std #if __glibcxx_padded_layouts using std::layout_left_padded; using std::layout_right_padded; - using strided_slice; - using full_extent_t; - using full_extent; - using submdspan_mapping_result; + using std::strided_slice; + using std::full_extent_t; + using std::full_extent; + using std::submdspan_mapping_result; #endif // FIXME submdspan_extents, mdsubspan }
