When using -Werror
with clang, it transforms \"warning: argument unused during compilation\" messages into errors, which makes sense. There\'s a -Qunused-argu
In Visual Studio 2019, open the property pages of the C++ Project and go to Configuration Properties -> C/C++ -> CommandLine.
In the "Additional Options" text box, paste
-Wunused-command-line-argument
Do this for each configuration / platform combination. This worked for me, to turn off only this warning.