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.
Description
amdclang++throws warnings when-Wextrais added as a compiler option. The breakdown of the warnings is as follows:Suggested plan of action
-Wextraas a compile option and-Werrorto ensure compilation cannot succeed if there are any warnings thrown. This will make it easier to catch and address warnings moving forward.