When using -Werror
with clang, it transforms "warning: argument unused during compilation" messages into errors, which makes sense. There's a -Qunused-arguments
flag to silence them entirely. My question is, is there some -Wno-error=...
flag I can pass to make these not be errors, without disabling them entirely?
Turns out the correct answer is -Wno-error=unused-command-line-argument
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments