diff options
author | Marek Polacek <polacek@redhat.com> | 2024-01-30 17:11:34 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2024-01-31 15:12:16 -0500 |
commit | d836db149d439658cb98688f3f5c6ed58446e333 (patch) | |
tree | 237a1bc4bf6f6b5932e51dd9629c27743c216bcf /gcc/doc | |
parent | f6ba433d3c30c20fadd393eed31617a4da81789c (diff) | |
download | gcc-d836db149d439658cb98688f3f5c6ed58446e333.zip gcc-d836db149d439658cb98688f3f5c6ed58446e333.tar.gz gcc-d836db149d439658cb98688f3f5c6ed58446e333.tar.bz2 |
c++: add deprecation notice for -fconcepts-ts
We plan to remove -fconcepts-ts in GCC 15 and thus remove the flag_concepts_ts
code. This note is an admonishing reminder to convert the Concepts TS
code to C++20 Concepts.
gcc/c-family/ChangeLog:
* c-opts.cc (c_common_post_options): Add an inform saying that
-fconcepts-ts is deprecated and will be removed in GCC 15.
gcc/ChangeLog:
* doc/invoke.texi: Mention that -fconcepts-ts was deprecated in GCC 14.
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index eb931b9..ca2c0e9 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -3204,7 +3204,9 @@ the language standard, so @option{-fconcepts} defaults to on. Some constructs that were allowed by the earlier C++ Extensions for Concepts Technical Specification, ISO 19217 (2015), but didn't make it into the standard, can additionally be enabled by -@option{-fconcepts-ts}. +@option{-fconcepts-ts}. The option @option{-fconcepts-ts} was deprecated +in GCC 14 and may be removed in GCC 15; users are expected to convert +their code to C++20 concepts. @opindex fconstexpr-depth @item -fconstexpr-depth=@var{n} |