Skip to content

Fix lots of examples warnings #88

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

Merged
merged 24 commits into from
May 30, 2025

Conversation

Alucowie
Copy link
Contributor

@Alucowie Alucowie commented Jul 9, 2024

Fixes are ordered by modules (OGLES/Vulkan/framework) and warnings class.

Here the list of warnings class fixed : class-memaccess, unsused variable, unused but set variable, unused function, stringop-overread, sign-compare, catch-value, invalid-offsetof, switch, return-value, reorder, unknown-pragmas, range-loop-construct and cast-user-defined.

@AlejandroCosin
Copy link
Contributor

Hi @Alucowie

Thanks a lot for your PRs, I will review them in the upcoming weeks.

@AlejandroCosin AlejandroCosin self-requested a review July 22, 2024 10:06
@Alucowie Alucowie force-pushed the fix-examples-warnings branch from 36232af to f335834 Compare September 8, 2024 13:38
@Alucowie
Copy link
Contributor Author

Alucowie commented Sep 8, 2024

Hi @AlejandroCosin, I saw you commit a fix on HelloAPI, I removed my MR.
What about the other there MR ? Did you had time to review them ?
Thx!

Loop variable buffFmt creates a copy from type ImageFormat.
Prevent copying and silence compiler warning.
This move prevents compiler to trigger unused-variable warnings.
This also avoids "unused-but-set-variable" warnings.
@Alucowie Alucowie force-pushed the fix-examples-warnings branch from f335834 to 6c32edf Compare December 19, 2024 12:20
@AlejandroCosin
Copy link
Contributor

Hi @Alucowie,

Thanks a lot for your contribution.

Your changes are not being ignored: Before approving your PRs I need to integrate the changes in an internal branch (we use the SDK in over a dozen different platforms) and I need to make sure all builds pass, and then do testing to make sure the changes works fine in all the platforms for all SDK samples.

@AlejandroCosin AlejandroCosin merged commit 31107e8 into powervr-graphics:master May 30, 2025
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.

2 participants