Skip to content

fix: all leftover warnings on Linux #2111

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 3 commits into from
Mar 12, 2025
Merged

fix: all leftover warnings on Linux #2111

merged 3 commits into from
Mar 12, 2025

Conversation

qnixsynapse
Copy link
Contributor

Describe Your Changes

  • This PR fixes various compiler warnings on Linux. The changes include:
  • Suppressing unused parameter warnings by adding (void) casts
  • Adding [[maybe_unused]] attributes to unused functions and variables
  • Fixing signed/unsigned comparison warnings by casting to a common type
  • Removing unused type aliases and variables
  • Updating code to fix warnings about unused variables and functions

This should address almost all warnings for now.

The only thing left is complaints about C++20 designated initializers on Linux which I plan to fix later.

@qnixsynapse qnixsynapse merged commit 81211a4 into dev Mar 12, 2025
8 checks passed
@qnixsynapse qnixsynapse deleted the fix/warnings_linux branch March 12, 2025 08:39
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