Visible to Intel only — GUID: GUID-5379A3D4-6474-4D85-A30A-8B912B85FF19
Visible to Intel only — GUID: GUID-5379A3D4-6474-4D85-A30A-8B912B85FF19
fpreview-breaking-changes
Lets a user tell the compiler that they are willing to give up backward compatibility guarantees and lets the compiler enable new backward breaking changes that will appear in the next major release.
Syntax
Linux: |
-fpreview-breaking-changes |
Windows: |
-fpreview-breaking-changes |
Arguments
None
Default
OFF |
The compiler follows default heuristics for backward compatibility. |
Description
This option lets a user tell the compiler that they are willing to give up backward compatibility guarantees and lets the compiler enable new backward breaking changes that will appear in the next major release.
The breaking changes specified will be the default in the next major compiler release. So, this option lets you prepare for that release should you want to do so.
When this option is specified, it sets the macro __INTEL_PREVIEW_BREAKING_CHANGES.
When this option is used along with option -fsycl, the driver will link against an alternate form of libsycl, which is libsycl-preview.
To decide whether you want to choose to use the latest changes made by developers, see the Release Notes, which will show what is actually enabled by option -fpreview-breaking-release in each release.
IDE Equivalent
Alternate Options
None
Examples
The following shows examples of using this option:
> icpx -fpreview-breaking-changes -fsycl a.cpp -o a.out
> icx -fpreview-breaking-changes a.cpp -o a.out
> icpx -fpreview-breaking-changes -fiopenmp -fopenmp-targets=spir64 test.cpp