Skip to content

Fix various compiler warnings (-Wformat-diag, -Wmaybe-uninitialized, -Wdelete-non-virtual-dtor)#127

Open
Zeinab-Ayman wants to merge 6 commits into
gcc-mirror:masterfrom
Zeinab-Ayman:fix-format-diag-warnings
Open

Fix various compiler warnings (-Wformat-diag, -Wmaybe-uninitialized, -Wdelete-non-virtual-dtor)#127
Zeinab-Ayman wants to merge 6 commits into
gcc-mirror:masterfrom
Zeinab-Ayman:fix-format-diag-warnings

Conversation

@Zeinab-Ayman
Copy link
Copy Markdown

This PR fixes a set of compiler warnings across diagnostics, text-art, and analyzer modules:

  • Fixed -Wformat-diag issues regarding unquoted keywords, leading semicolons, and spurious punctuation in text-art table tests and diagnostics digraphs.
  • Initialized imode to QImode in expmed to eliminate a -Wmaybe-uninitialized warning.
  • Added a virtual destructor to the converter class to resolve -Wdelete-non-virtual-dtor.
  • Cleared an unused variable (-Wunused-variable) in analyzer interprocedural_return.

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.

1 participant