fast
fast copied to clipboard
Fast fails to build on OSX
Clang does not recognize -Wno-unused-but-set-variable
and thus fails to compile.
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
I fixed it by removing -Wno-unused-but-set-variable
in CMakeLists.txt
. This isn't a great fix because its bad mojo to remove useful warnings. It might be appropriate to add the compiler flag based on which type of compiler.
Just remove this warning.