I recently started getting this error:
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
when compiling my codebase on mac os 12.2.1. I don't think I was getting this "error" on a previous mac os version -- I think it used to be a warning. Does anyone know how to resolve this error?
-Wno-unused-but-set-variable
option anymore? https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html – jesse_b Mar 30 '22 at 14:40