Package: libstdc++-16-dev
Version: 16-20260217-1
Severity: minor
Dear Maintainer,
To use "import std;", one needs to generate a precompiled std.gcm file
first. Doing this with -std=c++26 is currently broken:
$ g++-16 -std=c++26 -g3 -O3 -fmodules -fsearch-include-path -c bits/std.cc -o
/dev/null
/usr/include/c++/16/bits/std.cc:1918:14: error: ‘submdspan_canonicalize_slices’
has not been declared in ‘std’
1918 | using std::submdspan_canonicalize_slices;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/std.cc:1919:14: error: ‘submdspan_extents’ has not
been declared in ‘std’
1919 | using std::submdspan_extents;
| ^~~~~~~~~~~~~~~~~
It does still work with -std=c++20 and c++23, though. This is probably a
minor issue until c++26 is released.
Thanks,
Ingo
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 7 (freia/ceres)
Release: 7
Codename: freia ceres
Architecture: x86_64
Kernel: Linux 6.19.0-spatz20260211 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE,
TAINT_RANDSTRUCT
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libstdc++-16-dev depends on:
ii gcc-16-base 16-20260217-1
ii libc6-dev 2.42-13
ii libgcc-16-dev 16-20260217-1
ii libstdc++6 16-20260217-1
libstdc++-16-dev recommends no packages.
Versions of packages libstdc++-16-dev suggests:
pn libstdc++-16-doc <none>
-- no debconf information