Skip to content

[Issue] Compiler warnings with -Wextra enabled #127

@zacharyvincze

Description

@zacharyvincze

Description

amdclang++ throws warnings when -Wextra is added as a compiler option. The breakdown of the warnings is as follows:

560 [-Wignored-qualifiers]
374 [-Wsign-compare]
 96 [-Wunused-parameter]
 64 [-Wdeprecated-copy-with-user-provided-copy]
 30 [-Wpass-failed=transform-warning]

Suggested plan of action

  • Create PRs that address each warning type by category, adding their respective flag into the CMake configuration to confirm that no warnings are thrown.
  • Once all sub issues have been resolved, use -Wextra as a compile option and -Werror to ensure compilation cannot succeed if there are any warnings thrown. This will make it easier to catch and address warnings moving forward.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions