This compiler supports many compiler options you can use in your applications.
In this section, we provide the following:
An alphabetical list of compiler options that includes their short descriptions
A list of deprecated options for DPC++ and lists of deprecated and removed options for C++
General rules for compiler options and the conventions we use when referring to options
Details about what appears in the compiler option descriptions
A description of each compiler option. The descriptions appear under the option's functional category. Within each category, the options are listed in alphabetical order.
Clang compiler options are supported for this compiler. We do not document these options, but you can check dpcpp -help and icx/icpx -help on the command line to see if a particular option is supported. For more information about Clang options, see the Clang documentation. The Clang website is https://clang.llvm.org/.
On Windows, two compilers are available: dpcpp and dpcpp-cl.
If you want to use Linux-style option syntax, where options start with -, you should continue to use the dpcpp compiler.
If you want to use Microsoft Visual C++ (MSVC)-compatible option syntax, where options start with /, you should use the dpcpp-cl compiler.
For details about new functionalty, such as new compiler options, see the Release Notes for the product.