Compile fails with -fconcepts -std=gnu++14
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-defaults (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ 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/
/usr/include/
597 | requires is_default_
| ^~~~~~~
| is_default_
/usr/include/
597 | requires is_default_
| ^~~~~~~~
/usr/include/
597 | requires is_default_
| ^~~~~~~~
| ;
/usr/include/
597 | requires is_default_
| ^~~~~~~
| is_default_
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: g++ 4:13.2.0-7ubuntu1
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
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)