fast icon indicating copy to clipboard operation
fast copied to clipboard

Fast fails to build on OSX

Open kubark42 opened this issue 8 years ago • 1 comments

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.

kubark42 avatar Oct 05 '16 13:10 kubark42

Just remove this warning.

maoLB avatar Jan 22 '18 02:01 maoLB