Suppress the compiler warnings marking them as external#2770
Merged
antonwolfy merged 4 commits intomasterfrom Feb 17, 2026
Merged
Suppress the compiler warnings marking them as external#2770antonwolfy merged 4 commits intomasterfrom
antonwolfy merged 4 commits intomasterfrom
Conversation
97f2404 to
2e328bf
Compare
Contributor
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
Contributor
|
Array API standard conformance tests for dpnp=0.20.0dev3=py313h509198e_7 ran successfully. |
Collaborator
80060c0 to
7b219fc
Compare
cd4fb3d to
f016807
Compare
vlad-perevezentsev
approved these changes
Feb 17, 2026
Contributor
vlad-perevezentsev
left a comment
There was a problem hiding this comment.
LGTM
Thank you @antonwolfy !
github-actions bot
added a commit
that referenced
this pull request
Feb 17, 2026
On Linux, the DPC++ compiler headers are automatically treated as system headers. But it is not the case on Windows. Due to that, there is a ton of deprecation warnings generated inside the compiler headers when building dpnp extensions on Windows. This PR updates CMake files of the extensions to add include of DPC++ compiler headers explicitly and to mark the compiler and dpctl headers as system one to suppress the warning inside them. 30f5fd1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Linux, the DPC++ compiler headers are automatically treated as system headers. But it is not the case on Windows.
Due to that, there is a ton of deprecation warnings generated inside the compiler headers when building dpnp extensions on Windows.
This PR updates CMake files of the extensions to add include of DPC++ compiler headers explicitly and to mark the compiler and dpctl headers as system one to suppress the warning inside them.