Bug 461798 - C++20 profile instead of c++2a
Summary: C++20 profile instead of c++2a
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (other bugs)
Version First Reported In: 5.8.220403
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-14 01:03 UTC by Ran Rutenberg
Modified: 2025-12-25 18:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The relevent window (102.79 KB, image/png)
2022-11-14 01:03 UTC, Ran Rutenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
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