Public bug reported: $ cat /tmp/try.cc #include <vector>
int main() { return 0; } $ g++ -fconcepts -std=gnu++14 -o try try.cc In file included from /usr/include/c++/13/vector:67, from try.cc:1: /usr/include/c++/13/bits/stl_bvector.h:597:18: error: ‘is_default_constructible_v’ was not declared in this scope; did you mean ‘is_default_constructible’? 597 | requires is_default_constructible_v<_Bit_alloc_type> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | is_default_constructible /usr/include/c++/13/bits/stl_bvector.h:597:9: error: expression must be enclosed in parentheses 597 | requires is_default_constructible_v<_Bit_alloc_type> | ^~~~~~~~ /usr/include/c++/13/bits/stl_bvector.h:597:9: error: expected ‘;’ at end of member declaration 597 | requires is_default_constructible_v<_Bit_alloc_type> | ^~~~~~~~ | ; /usr/include/c++/13/bits/stl_bvector.h:597:18: error: ‘is_default_constructible_v’ does not name a type; did you mean ‘is_default_constructible’? 597 | requires is_default_constructible_v<_Bit_alloc_type> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | is_default_constructible ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: g++ 4:13.2.0-7ubuntu1 ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1 Uname: Linux 6.8.0-22-generic x86_64 ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass CloudArchitecture: x86_64 CloudID: none CloudName: none CloudPlatform: none CloudSubPlatform: config Date: Tue Apr 16 12:32:20 2024 InstallationDate: Installed on 2024-01-03 (104 days ago) InstallationMedia: Ubuntu-Server 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230810) SourcePackage: gcc-defaults UpgradeStatus: Upgraded to noble on 2024-04-12 (4 days ago) ** Affects: gcc-defaults (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061828 Title: Compile fails with -fconcepts -std=gnu++14 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/2061828/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs