Skip to content

Commit

Permalink
c++: Some C++20 and C++23 option help fixes
Browse files Browse the repository at this point in the history
I've noticed we still refer to C++20 as draft standard, and there is a pasto
in C++23 description.

2021-01-28  Jakub Jelinek  <[email protected]>

	* c.opt (-std=c++2a, -std=c++20, -std=gnu++2a, -std=gnu++20): Remove
	draft from description.
	(-std=c++2b): Fix a pasto, 2020 -> 2023.
  • Loading branch information
jakubjelinek committed Jan 28, 2021
1 parent a523add commit c392d04
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gcc/c-family/c.opt
Original file line number Diff line number Diff line change
Expand Up @@ -2208,15 +2208,15 @@ Conform to the ISO 2017 C++ standard.

std=c++2a
C++ ObjC++ Alias(std=c++20) Undocumented
Conform to the ISO 2020 C++ draft standard (experimental and incomplete support).
Conform to the ISO 2020 C++ standard (experimental and incomplete support).

std=c++20
C++ ObjC++
Conform to the ISO 2020 C++ draft standard (experimental and incomplete support).
Conform to the ISO 2020 C++ standard (experimental and incomplete support).

std=c++2b
C++ ObjC++ Alias(std=c++23)
Conform to the ISO 2020 C++ draft standard (experimental and incomplete support).
Conform to the ISO 2023 C++ draft standard (experimental and incomplete support).

std=c++23
C++ ObjC++ Undocumented
Expand Down Expand Up @@ -2294,11 +2294,11 @@ Conform to the ISO 2017 C++ standard with GNU extensions.

std=gnu++2a
C++ ObjC++ Alias(std=gnu++20) Undocumented
Conform to the ISO 2020 C++ draft standard with GNU extensions (experimental and incomplete support).
Conform to the ISO 2020 C++ standard with GNU extensions (experimental and incomplete support).

std=gnu++20
C++ ObjC++
Conform to the ISO 2020 C++ draft standard with GNU extensions (experimental and incomplete support).
Conform to the ISO 2020 C++ standard with GNU extensions (experimental and incomplete support).

std=gnu++2b
C++ ObjC++ Alias(std=gnu++23)
Expand Down

0 comments on commit c392d04

Please sign in to comment.