Skip to content

Conversation

@thorsten-klein
Copy link

Fixes #3627.

This commit fixes several clang warnings and updates cxx_base_flags in cmake to always enable those flags, ensuring consistent warning coverage in the future.

Enabled additional warnings:

  • -Wswitch-default
  • -Wswitch-enum
  • -Wextra
  • -Wcast-align
  • -Wunused
  • -Wunreachable-code

This commit fixes several Clang warnings and updates cxx_base_flags to
always enable them, ensuring consistent warning coverage across builds.

Enabled additional warnings:
-Wswitch-default -Wswitch-enum -Wextra -Wcast-align -Wunused
-Wunreachable-code
@thorsten-klein
Copy link
Author

@derekmauro / @qubka:
Do you agree with those changes?

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.

Consider making "switch" statements cover all cases

1 participant