Skip to content

[XPTI][NFC] Fix -Wconversion warnings #18786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: sycl
Choose a base branch
from

Conversation

AlexeySachkov
Copy link
Contributor

-Wconversion is a must-have flag for us in according with internal guidelines (see AddSecurityFlags.cmake), but we have never built with it + -Werror so there are multiple places in xpti subproject where we did potentially incorrect implicit conversions.

`-Wconversion` is a must-have flag for us in according with internal
guidelines (see `AddSecurityFlags.cmake`), but we have never built with
it + `-Werror` so there are multiple places in `xpti` subproject where
we did potentially incorrect implicit conversions.
@AlexeySachkov AlexeySachkov requested a review from a team as a code owner June 3, 2025 13:47
@uditagarwal97
Copy link
Contributor

How about we add -Wconversion flag while building compiler in CI?
CC: @sarnex

@sarnex
Copy link
Contributor

sarnex commented Jun 3, 2025

Agree it's a good idea but who is gonna do it :)

@uditagarwal97
Copy link
Contributor

uditagarwal97 commented Jun 3, 2025

Agree it's a good idea but who is gonna do it :)

I'll file a ticket for now and can work on it when I get some free time.
Edit:- ticket: #18788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants