Skip to content

Commit 90056b8

Browse files
[SYCLomatic][DOC] Updating FAQ information on C++ std version. (#2392)
Co-authored-by: Wang, Zhiming <[email protected]>
1 parent 614f7bb commit 90056b8

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/dev_guide/frequently-asked-questions-faq.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Frequently Asked Questions
44

55
**General Information**
66

7-
* `How do I migrate source files that use C++11 or newer standard features on Linux\* and Windows\*?`_
7+
* `How do I migrate source files that use C++20 or newer standard features on Linux\* and Windows\*?`_
88
* `How do I migrate files on Windows when using a CMake project?`_
99
* `How is the migrated code formatted?`_
1010
* `Why does the compilation database not contain all source files in the project?`_
@@ -27,24 +27,25 @@ Frequently Asked Questions
2727
General Information
2828
-------------------
2929

30-
How do I migrate source files that use C++11 or newer standard features on Linux\* and Windows\*?
30+
How do I migrate source files that use C++20 or newer standard features on Linux\* and Windows\*?
3131
*************************************************************************************************
3232

3333
On Linux, the default C++ standard for |tool_name|'s
34-
parser is C++98, with some C++11 features
35-
accepted. If you want to enable other C++11 or newer standard
36-
features in |tool_name|, you need to add
34+
parser is C++17. If you want to enable newer standard features
35+
in |tool_name|, you need to add
3736
the ``--extra-arg="-std=<value>"`` option to the
3837
command line. The supported values are:
3938

40-
- ``c++11``
4139
- ``c++14``
4240
- ``c++17``
41+
- ``c++20``
42+
- ``c++23``
43+
- ``c++26``
4344

4445
On Windows, the default C++ standard for |tool_name|'s
45-
parser is C++14. If you want to enable C++17
46-
features in |tool_name|, you need to add
47-
the option ``--extra-arg="-std=c++17"`` to the command line.
46+
parser is C++17. If you want to enable C20 features
47+
in |tool_name|, you need to add
48+
the option ``--extra-arg="-std=c++20"`` to the command line.
4849

4950
How do I migrate files on Windows when using a CMake project?
5051
*************************************************************

0 commit comments

Comments
 (0)