When using -Werror with clang, it transforms \"warning: argument unused during compilation\" messages into errors, which makes sense. There\'s a -Qunused-argu
-Werror
-Qunused-argu
You can also use this command:
-Wno-unused-command-line-argument