Bug 461798

Summary: C++20 profile instead of c++2a
Product: [Applications] kdevelop Reporter: Ran Rutenberg <ran.rutenberg>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: martin+kde
Priority: NOR    
Version First Reported In: 5.8.220403   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The relevent window

Description Ran Rutenberg 2022-11-14 01:03:33 UTC
Created attachment 153724 [details]
The relevent window

In the project configuration, under Language Support, you can choose the C++ profile.
The support for c++20 is written as c++2a.
Starting from GCC 10, the correct command-line parameter is c++20.
See: https://gcc.gnu.org/projects/cxx-status.html#cxx20